glib r6801 - trunk/gio
- From: alexl svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r6801 - trunk/gio
- Date: Mon, 31 Mar 2008 21:04:24 +0100 (BST)
Author: alexl
Date: Mon Mar 31 21:04:24 2008
New Revision: 6801
URL: http://svn.gnome.org/viewvc/glib?rev=6801&view=rev
Log:
2008-03-31 Alexander Larsson <alexl redhat com>
* glocalfile.c (get_parent):
Don't leak parent.
Modified:
trunk/gio/ChangeLog
trunk/gio/glocalfile.c
Modified: trunk/gio/glocalfile.c
==============================================================================
--- trunk/gio/glocalfile.c (original)
+++ trunk/gio/glocalfile.c Mon Mar 31 21:04:24 2008
@@ -1386,6 +1386,7 @@
if (strcmp (parent, ".") == 0 ||
strcmp (parent, path_copy) == 0)
{
+ g_free (parent);
g_free (path_copy);
return NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]