summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-22 18:26:52 +0200
committerraveit65 <[email protected]>2023-03-15 18:56:02 +0100
commit7f9225f08b84d58ccddbc88c7c4cc176c151fdb9 (patch)
treeae55c9158acb9bc69a30bf47243029192865b073
parent2fbe25e7ad9c7678db2f3e34f76c9ee4e37d80d9 (diff)
downloadmate-desktop-7f9225f08b84d58ccddbc88c7c4cc176c151fdb9.tar.bz2
mate-desktop-7f9225f08b84d58ccddbc88c7c4cc176c151fdb9.tar.xz
mate-desktop-thumbnail: fix memory leak
-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)
{