gvfs r1733 - in trunk: . common
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: gvfs r1733 - in trunk: . common
- Date: Mon, 14 Apr 2008 05:39:39 +0100 (BST)
Author: matthiasc
Date: Mon Apr 14 05:39:39 2008
New Revision: 1733
URL: http://svn.gnome.org/viewvc/gvfs?rev=1733&view=rev
Log:
2008-04-14 Matthias Clasen <mclasen redhat com>
* common/gmounttracker.c (g_mount_tracker_finalize): Only free
lock if it is non-NULL. Pointed out by Denis Leroy.
Modified:
trunk/ChangeLog
trunk/common/gmounttracker.c
Modified: trunk/common/gmounttracker.c
==============================================================================
--- trunk/common/gmounttracker.c (original)
+++ trunk/common/gmounttracker.c Mon Apr 14 05:39:39 2008
@@ -236,7 +236,8 @@
tracker = G_MOUNT_TRACKER (object);
- g_mutex_free (tracker->lock);
+ if (tracker->lock)
+ g_mutex_free (tracker->lock);
g_list_foreach (tracker->mounts,
(GFunc)g_mount_info_unref, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]