summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-desktop-thumbnail.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-22 18:26:52 +0200
committerLuke from DC <[email protected]>2022-08-20 20:15:15 +0000
commit3084c93b8c7f0b4520a665e54dc508e7cda12dc1 (patch)
treecb3bdc8c846dd258d81a50e6c1eb48d28fc2bfaa /libmate-desktop/mate-desktop-thumbnail.c
parent0f2374f59767e2117456a88ada65e207fa471cd6 (diff)
downloadmate-desktop-3084c93b8c7f0b4520a665e54dc508e7cda12dc1.tar.bz2
mate-desktop-3084c93b8c7f0b4520a665e54dc508e7cda12dc1.tar.xz
mate-desktop-thumbnail: fix memory leak
Diffstat (limited to 'libmate-desktop/mate-desktop-thumbnail.c')
-rw-r--r--libmate-desktop/mate-desktop-thumbnail.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmate-desktop/mate-desktop-thumbnail.c b/libmate-desktop/mate-desktop-thumbnail.c
index 8d26706..885ff42 100644
--- a/libmate-desktop/mate-desktop-thumbnail.c
+++ b/libmate-desktop/mate-desktop-thumbnail.c
@@ -954,6 +954,7 @@ expand_thumbnailing_script (const char *script,
g_ptr_array_add (array, expanded);
}
+ g_strfreev (script_elems);
if (!got_in)
{