[gnome-shell] Squash small memory leak



commit 79db50500d038babbd6519c9156b2be4312ddf1b
Author: Colin Walters <walters verbum org>
Date:   Wed Sep 16 19:44:23 2009 -0400

    Squash small memory leak
    
    https://bugzilla.gnome.org/show_bug.cgi?id=595321

 src/shell-app-monitor.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/shell-app-monitor.c b/src/shell-app-monitor.c
index 77c28f7..691a27b 100644
--- a/src/shell-app-monitor.c
+++ b/src/shell-app-monitor.c
@@ -1039,6 +1039,7 @@ shell_app_monitor_init (ShellAppMonitor *self)
   path = g_build_filename (shell_config_dir, DATA_FILENAME, NULL);
   g_free (shell_config_dir);
   self->configfile = g_file_new_for_path (path);
+  g_free (path);
   restore_from_file (self);
 
   load_initial_windows (self);



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