[gtk+/wip/csoriano/gtkpathbar_rework: 115/120] gtkpathbar: avoid unrefing wrong memory
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/csoriano/gtkpathbar_rework: 115/120] gtkpathbar: avoid unrefing wrong memory
- Date: Thu, 19 Mar 2015 17:16:41 +0000 (UTC)
commit 892989125f560ee67ca1babe09a53c285cfdd9e7
Author: Carlos Soriano <csoriano gnome org>
Date: Wed Mar 4 17:25:11 2015 +0100
gtkpathbar: avoid unrefing wrong memory
gtk/gtkpathbar.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkpathbar.c b/gtk/gtkpathbar.c
index 97d2f5a..79a4f52 100644
--- a/gtk/gtkpathbar.c
+++ b/gtk/gtkpathbar.c
@@ -1707,6 +1707,7 @@ gtk_path_bar_get_info_callback (GObject *source,
* Now, go on to fetch the info for this directory's parent.
*/
file_info->file = file_info->parent_file;
+ file_info->parent_file= NULL;
file_info->first_directory = FALSE;
if (!file_info->file || button_data->is_root)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]