[gtk+/wip/csoriano/gtkpathbar_rework: 72/74] 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: 72/74] gtkpathbar: avoid unrefing wrong memory
- Date: Wed, 8 Apr 2015 16:04:59 +0000 (UTC)
commit 93533bd101c5e6e6106ed3465e754322ea86c43b
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]