[Xfce4-commits] <thunar:jannis/new-shortcuts-pane> Fix a memory leak and a potential segfault in ThunarBrowser.
Jannis Pohlmann
noreply at xfce.org
Sun Dec 11 16:48:01 CET 2011
Updating branch refs/heads/jannis/new-shortcuts-pane
to 291b63199b6c50bf7db471bbb280c29a7818f335 (commit)
from f61f14f75dc4a84c8a65c9b38d0135b9b7f160d6 (commit)
commit 291b63199b6c50bf7db471bbb280c29a7818f335
Author: Jannis Pohlmann <jannis.pohlmann at codethink.co.uk>
Date: Sun Dec 11 16:42:48 2011 +0100
Fix a memory leak and a potential segfault in ThunarBrowser.
thunar/thunar-browser.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/thunar/thunar-browser.c b/thunar/thunar-browser.c
index d70a9de..dc818a8 100644
--- a/thunar/thunar-browser.c
+++ b/thunar/thunar-browser.c
@@ -1,6 +1,6 @@
/* vi:set et ai sw=2 sts=2 ts=2: */
/*-
- * Copyright (c) 2009 Jannis Pohlmann <jannis at xfce.org>
+ * Copyright (c) 2009-2011 Jannis Pohlmann <jannis at xfce.org>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -298,6 +298,8 @@ thunar_browser_poke_mountable_finish (GObject *object,
thunar_browser_poke_file_data_free (poke_data);
}
+
+ g_clear_error (&error);
}
@@ -594,8 +596,6 @@ thunar_browser_poke_volume_finish (GObject *object,
if (error->code == G_IO_ERROR_ALREADY_MOUNTED)
g_clear_error (&error);
}
-
- thunar_browser_poke_volume_data_free (poke_data);
}
if (error == NULL)
More information about the Xfce4-commits
mailing list