[nautilus] eel: fix leaked path string



commit 5f5bea72af6e23986b7367a2a2157fb15481f367
Author: Pavel Vasin <rat4vier gmail com>
Date:   Fri Aug 24 15:26:33 2012 +0400

    eel: fix leaked path string
    
    https://bugzilla.gnome.org/show_bug.cgi?id=682603

 eel/eel-gnome-extensions.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/eel/eel-gnome-extensions.c b/eel/eel-gnome-extensions.c
index 73e9378..eaddfe5 100644
--- a/eel/eel-gnome-extensions.c
+++ b/eel/eel-gnome-extensions.c
@@ -51,6 +51,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;
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]