[maemo-commits] [maemo-commits] r16249 - in projects/haf/branches/hildon-thumbnail/daemonize: daemon thumbs
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Sat Sep 27 14:42:40 EEST 2008
- Previous message: [maemo-commits] r16248 - projects/haf/branches/hildon-thumbnail/daemonize/daemon
- Next message: [maemo-commits] r16250 - in projects/connectivity/bluez-debian/trunk: . patches
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: pvanhoof Date: 2008-09-27 14:42:38 +0300 (Sat, 27 Sep 2008) New Revision: 16249 Modified: projects/haf/branches/hildon-thumbnail/daemonize/daemon/hildon-thumbnail-daemon.c projects/haf/branches/hildon-thumbnail/daemonize/thumbs/hildon-thumbnail-factory.c Log: Memleak fix 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-26 13:19:41 UTC (rev 16248) +++ projects/haf/branches/hildon-thumbnail/daemonize/daemon/hildon-thumbnail-daemon.c 2008-09-27 11:42:38 UTC (rev 16249) @@ -72,9 +72,6 @@ (GDestroyNotify) g_free, (GDestroyNotify) NULL); - - /* TODO: Monitor this directory for plugin removals and additions */ - dir = g_dir_open (PLUGINS_DIR, 0, &error); if (dir) { Modified: projects/haf/branches/hildon-thumbnail/daemonize/thumbs/hildon-thumbnail-factory.c =================================================================== --- projects/haf/branches/hildon-thumbnail/daemonize/thumbs/hildon-thumbnail-factory.c 2008-09-26 13:19:41 UTC (rev 16248) +++ projects/haf/branches/hildon-thumbnail/daemonize/thumbs/hildon-thumbnail-factory.c 2008-09-27 11:42:38 UTC (rev 16249) @@ -402,9 +402,9 @@ ThumbsItemAndPaths *info = g_slice_new (ThumbsItemAndPaths); info->item = item; - info->normal = g_strdup (normal); - info->large = g_strdup (large); - info->cropped = g_strdup (cropped); + info->normal = normal; + info->large = large; + info->cropped = cropped; g_idle_add_full (G_PRIORITY_DEFAULT, have_all_cb, info, (GDestroyNotify) free_thumbsitem_and_paths);
- Previous message: [maemo-commits] r16248 - projects/haf/branches/hildon-thumbnail/daemonize/daemon
- Next message: [maemo-commits] r16250 - in projects/connectivity/bluez-debian/trunk: . patches
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]