[gtk+/wip/csoriano/gtkpathbar_rework: 990/993] 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: 990/993] gtkpathbar: avoid unrefing wrong memory
- Date: Tue, 4 Aug 2015 13:39:44 +0000 (UTC)
commit 22ae5690f1ceabee051dea768833ae9e185f97da
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 728d587..87073c0 100644
--- a/gtk/gtkpathbar.c
+++ b/gtk/gtkpathbar.c
@@ -1710,6 +1710,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]