mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-14 22:37:15 +01:00
unref the destination's attribute matcher before overwriting it.
2009-02-17 Ryan Lortie <desrt@desrt.ca> * gfileinfo.c: unref the destination's attribute matcher before overwriting it. svn path=/trunk/; revision=7879
This commit is contained in:
parent
6438f1689c
commit
3fd881b5bb
@ -1,3 +1,8 @@
|
||||
2009-02-17 Ryan Lortie <desrt@desrt.ca>
|
||||
|
||||
* gfileinfo.c: unref the destination's attribute matcher before
|
||||
overwriting it.
|
||||
|
||||
2009-02-17 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* === Released 2.19.8 ===
|
||||
|
@ -302,6 +302,9 @@ g_file_info_copy_into (GFileInfo *src_info,
|
||||
_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
|
||||
|
Loading…
x
Reference in New Issue
Block a user