[maemo-commits] [maemo-commits] r16179 - projects/haf/branches/hildon-thumbnail/daemonize/daemon
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Thu Sep 18 12:37:44 EEST 2008
- Previous message: [maemo-commits] r16178 - in projects/haf/branches/hildon-thumbnail/daemonize: . daemon
- Next message: [maemo-commits] r16180 - in projects/haf/branches/hildon-thumbnail/daemonize: . daemon thumbs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: pvanhoof Date: 2008-09-18 12:37:43 +0300 (Thu, 18 Sep 2008) New Revision: 16179 Modified: projects/haf/branches/hildon-thumbnail/daemonize/daemon/hildon-thumbnail-daemon.c Log: Memory leak Modified: projects/haf/branches/hildon-thumbnail/daemonize/daemon/hildon-thumbnail-daemon.c =================================================================== --- projects/haf/branches/hildon-thumbnail/daemonize/daemon/hildon-thumbnail-daemon.c 2008-09-18 09:29:12 UTC (rev 16178) +++ projects/haf/branches/hildon-thumbnail/daemonize/daemon/hildon-thumbnail-daemon.c 2008-09-18 09:37:43 UTC (rev 16179) @@ -203,9 +203,6 @@ g_signal_connect (G_OBJECT (monitor), "changed", G_CALLBACK (on_plugin_changed), thumbnailer); - // g_object_unref (file) - // g_object_unref (monitor); - main_loop = g_main_loop_new (NULL, FALSE); g_timeout_add_seconds (600, @@ -214,6 +211,9 @@ g_main_loop_run (main_loop); + g_object_unref (monitor); + g_object_unref (file); + stop_plugins (registrations, thumbnailer); g_hash_table_unref (registrations);
- Previous message: [maemo-commits] r16178 - in projects/haf/branches/hildon-thumbnail/daemonize: . daemon
- Next message: [maemo-commits] r16180 - in projects/haf/branches/hildon-thumbnail/daemonize: . daemon thumbs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]