summaryrefslogtreecommitdiff
path: root/eel/eel-mate-extensions.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-02-08 10:34:53 +0300
committermonsta <[email protected]>2016-02-08 10:34:53 +0300
commit35a84bbc4f81914136c894dd55630f21acbeb54a (patch)
treefe5ac51d6851cd42f8dfda2839c6a2f719cc99ac /eel/eel-mate-extensions.c
parentb2737bb68c81e4095aa14c94fc93eb2acdd00ce0 (diff)
downloadcaja-35a84bbc4f81914136c894dd55630f21acbeb54a.tar.bz2
caja-35a84bbc4f81914136c894dd55630f21acbeb54a.tar.xz
eel: fix some forgotten memory leaks
taken from: https://git.gnome.org/browse/nautilus/commit/?id=8f15b28dd7afdd1a5c5b9c0d54c05d978a10461a https://git.gnome.org/browse/nautilus/commit/?id=60217c642cb4b12297b2d8ddd2a2eae45671a5a7 https://git.gnome.org/browse/nautilus/commit/?id=5f5bea72af6e23986b7367a2a2157fb15481f367
Diffstat (limited to 'eel/eel-mate-extensions.c')
-rw-r--r--eel/eel-mate-extensions.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eel/eel-mate-extensions.c b/eel/eel-mate-extensions.c
index 4d4e9beb..80563034 100644
--- a/eel/eel-mate-extensions.c
+++ b/eel/eel-mate-extensions.c
@@ -54,6 +54,7 @@ try_terminal_command (const char *program,
}
quoted = g_shell_quote (program_in_path);
+ g_free (program_in_path);
if (args == NULL || args[0] == '\0')
{
return quoted;