glib r7879 - trunk/gio
- From: ryanl svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r7879 - trunk/gio
- Date: Tue, 17 Feb 2009 23:36:13 +0000 (UTC)
Author: ryanl
Date: Tue Feb 17 23:36:13 2009
New Revision: 7879
URL: http://svn.gnome.org/viewvc/glib?rev=7879&view=rev
Log:
2009-02-17 Ryan Lortie <desrt desrt ca>
* gfileinfo.c: unref the destination's attribute matcher before
overwriting it.
Modified:
trunk/gio/ChangeLog
trunk/gio/gfileinfo.c
Modified: trunk/gio/gfileinfo.c
==============================================================================
--- trunk/gio/gfileinfo.c (original)
+++ trunk/gio/gfileinfo.c Tue Feb 17 23:36:13 2009
@@ -302,6 +302,9 @@
_g_file_attribute_value_set (&dest[i].value, &source[i].value);
}
+ if (dest_info->mask != NO_ATTRIBUTE_MASK)
+ g_file_attribute_matcher_unref (dest_info->mask);
+
if (src_info->mask == NO_ATTRIBUTE_MASK)
dest_info->mask = NO_ATTRIBUTE_MASK;
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]