summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErnestas Kulik <ernestask@gnome.org>2017-08-09 13:26:31 +0300
committerErnestas Kulik <ernestask@gnome.org>2017-08-09 13:59:03 +0300
commit3f59ba236d2ed8b061d009157d4512ca08f86f73 (patch)
treee408ced0df7e5d739355bc2c4fbdfa723141bac2
parent1077998373ce3ee21c6d4256da198f20cc11d505 (diff)
downloadnautilus-3f59ba236d2ed8b061d009157d4512ca08f86f73.tar.gz
program-choosing: fix double-free
Fixes for https://bugzilla.gnome.org/show_bug.cgi?id=782109 introduced a regression in that the Wayland window handle export data is now being freed twice. This commit backports the fix for the regression. https://bugzilla.gnome.org/show_bug.cgi?id=786040
-rw-r--r--src/nautilus-program-choosing.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nautilus-program-choosing.c b/src/nautilus-program-choosing.c
index 51d2e45a6..08d51f2fc 100644
--- a/src/nautilus-program-choosing.c
+++ b/src/nautilus-program-choosing.c
@@ -478,8 +478,6 @@ wayland_window_handle_exported (GdkWindow *window,
handle_str = g_strdup_printf ("wayland:%s", wayland_handle_str);
data->callback (data->window, handle_str, data->user_data);
g_free (handle_str);
-
- g_free (data);
}
#endif