glib r6997 - trunk/gio
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r6997 - trunk/gio
- Date: Wed, 11 Jun 2008 14:05:45 +0000 (UTC)
Author: matthiasc
Date: Wed Jun 11 14:05:45 2008
New Revision: 6997
URL: http://svn.gnome.org/viewvc/glib?rev=6997&view=rev
Log:
Don't unref before last use
Modified:
trunk/gio/ChangeLog
trunk/gio/gfile.c
Modified: trunk/gio/gfile.c
==============================================================================
--- trunk/gio/gfile.c (original)
+++ trunk/gio/gfile.c Wed Jun 11 14:05:45 2008
@@ -5444,11 +5444,12 @@
}
ret = g_output_stream_close (G_OUTPUT_STREAM (out), cancellable, error);
- g_object_unref (out);
if (new_etag)
*new_etag = g_file_output_stream_get_etag (out);
+ g_object_unref (out);
+
return ret;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]