gpointing-device-settings r147 - trunk/modules/gnome-settings-daemon-plugins
- From: hiikezoe svn gnome org
- To: svn-commits-list gnome org
- Subject: gpointing-device-settings r147 - trunk/modules/gnome-settings-daemon-plugins
- Date: Sat, 7 Mar 2009 05:56:12 +0000 (UTC)
Author: hiikezoe
Date: Sat Mar 7 05:56:12 2009
New Revision: 147
URL: http://svn.gnome.org/viewvc/gpointing-device-settings?rev=147&view=rev
Log:
fix memory leak.
Modified:
trunk/modules/gnome-settings-daemon-plugins/gsd-pointing-device-plugin.c
Modified: trunk/modules/gnome-settings-daemon-plugins/gsd-pointing-device-plugin.c
==============================================================================
--- trunk/modules/gnome-settings-daemon-plugins/gsd-pointing-device-plugin.c (original)
+++ trunk/modules/gnome-settings-daemon-plugins/gsd-pointing-device-plugin.c Sat Mar 7 05:56:12 2009
@@ -95,6 +95,7 @@
g_slist_foreach(dirs, (GFunc)g_free, NULL);
g_slist_free(dirs);
+ g_object_unref(gconf);
return infos;
}
@@ -121,7 +122,9 @@
mouse_extension_plugin->managers =
g_list_prepend(mouse_extension_plugin->managers, manager);
}
-
+ g_list_foreach(pointer_device_infos,
+ (GFunc)gpds_xinput_pointer_info_free, NULL);
+ g_list_free(pointer_device_infos);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]