Squash small memory leak

https://bugzilla.gnome.org/show_bug.cgi?id=595321
This commit is contained in:
Colin Walters 2009-09-16 19:44:23 -04:00
parent f26c9ab245
commit 79db50500d

View File

@ -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);