Commit fe68fc74 authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson
Browse files

Don't leak parent.

2008-03-31  Alexander Larsson  <alexl@redhat.com>

	* glocalfile.c (get_parent):
	Don't leak parent.
	


svn path=/trunk/; revision=6801
parent 5d171699
2008-03-31 Alexander Larsson <alexl@redhat.com>
* glocalfile.c (get_parent):
Don't leak parent.
2008-03-31 A. Walton <awalton@svn.gnome.org>
* gfile.c (g_file_query_file_type):
......
......@@ -1386,6 +1386,7 @@ get_parent (const char *path,
if (strcmp (parent, ".") == 0 ||
strcmp (parent, path_copy) == 0)
{
g_free (parent);
g_free (path_copy);
return NULL;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment