glib r6439 - trunk/gio
- From: alexl svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r6439 - trunk/gio
- Date: Fri, 1 Feb 2008 11:42:30 +0000 (GMT)
Author: alexl
Date: Fri Feb 1 11:42:25 2008
New Revision: 6439
URL: http://svn.gnome.org/viewvc/glib?rev=6439&view=rev
Log:
2008-02-01 Alexander Larsson <alexl redhat com>
* gappinfo.c (g_app_info_launch_default_for_uri):
Don't leak appinfo.
Modified:
trunk/gio/ChangeLog
trunk/gio/gappinfo.c
Modified: trunk/gio/gappinfo.c
==============================================================================
--- trunk/gio/gappinfo.c (original)
+++ trunk/gio/gappinfo.c Fri Feb 1 11:42:25 2008
@@ -566,6 +566,9 @@
l.next = l.prev = NULL;
res = g_app_info_launch_uris (app_info, &l,
launch_context, error);
+
+ g_object_unref (app_info);
+
return res;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]