21 lines
776 B
Diff
21 lines
776 B
Diff
|
From: Julien Lavergne <julien.lavergne@gmail.com>
|
||
|
Date: Sat, 23 Jul 2011 23:14:03 +0000 (+0200)
|
||
|
Subject: Fix crash on start
|
||
|
X-Git-Url: http://lxde.git.sourceforge.net/git/gitweb.cgi?p=lxde%2Flxsession;a=commitdiff_plain;h=82e5901fb68acfead807b8e824310edda2437744
|
||
|
|
||
|
Fix crash on start
|
||
|
---
|
||
|
|
||
|
diff --git a/lxsession/xdg-autostart.c b/lxsession/xdg-autostart.c
|
||
|
index 39f0d2a..b0f922a 100644
|
||
|
--- a/lxsession/xdg-autostart.c
|
||
|
+++ b/lxsession/xdg-autostart.c
|
||
|
@@ -283,7 +283,6 @@ static void get_autostart_files_in_dir( GHashTable* hash, const char* de_name, c
|
||
|
path = g_build_filename( dir_path, name, NULL );
|
||
|
g_hash_table_replace( hash, g_strdup(name), path );
|
||
|
}
|
||
|
- g_free( name );
|
||
|
}
|
||
|
g_dir_close( dir );
|
||
|
}
|