gamin r332 - in trunk: . server
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: gamin r332 - in trunk: . server
- Date: Sat, 16 Aug 2008 22:28:26 +0000 (UTC)
Author: matthiasc
Date: Sat Aug 16 22:28:25 2008
New Revision: 332
URL: http://svn.gnome.org/viewvc/gamin?rev=332&view=rev
Log:
Plug a memory leak
Modified:
trunk/ChangeLog
trunk/server/gam_fs.c
Modified: trunk/server/gam_fs.c
==============================================================================
--- trunk/server/gam_fs.c (original)
+++ trunk/server/gam_fs.c Sat Aug 16 22:28:25 2008
@@ -40,13 +40,13 @@
{
fs = iterator->data;
+ iterator = g_list_next (iterator);
+
filesystems = g_list_remove (filesystems, fs);
g_free (fs->path);
g_free (fs->fsname);
g_free (fs);
-
- iterator = g_list_next (filesystems);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]