mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
Don't unref icon if NULL.
2008-09-04 Tor Lillqvist <tml@novell.com> * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if NULL. svn path=/trunk/; revision=7439
This commit is contained in:
parent
4246c64c38
commit
f709eda798
@ -1,3 +1,8 @@
|
|||||||
|
2008-09-04 Tor Lillqvist <tml@novell.com>
|
||||||
|
|
||||||
|
* gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
|
||||||
|
NULL.
|
||||||
|
|
||||||
2008-09-02 Matthias Clasen <mclasen@redhat.com>
|
2008-09-02 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* === Released 2.18.0 ===
|
* === Released 2.18.0 ===
|
||||||
|
@ -80,7 +80,10 @@ g_win32_mount_finalize (GObject *object)
|
|||||||
_g_win32_volume_unset_mount (mount->volume, mount);
|
_g_win32_volume_unset_mount (mount->volume, mount);
|
||||||
#endif
|
#endif
|
||||||
/* TODO: g_warn_if_fail (volume->volume == NULL); */
|
/* TODO: g_warn_if_fail (volume->volume == NULL); */
|
||||||
g_object_unref (mount->icon);
|
|
||||||
|
if (mount->icon != NULL)
|
||||||
|
g_object_unref (mount->icon);
|
||||||
|
|
||||||
g_free (mount->name);
|
g_free (mount->name);
|
||||||
g_free (mount->mount_path);
|
g_free (mount->mount_path);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user