diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-02-18 19:18:44 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-02-18 19:18:44 +0000 |
commit | ee9eb1867faf9396b37f1025800089debe929814 (patch) | |
tree | 456e3cd89039313541a0fe8124f6357596e34ff1 | |
parent | 8f0017abca30ec119e4389c5ac3a87cae4480943 (diff) | |
download | gnunet-gtk-ee9eb1867faf9396b37f1025800089debe929814.tar.gz gnunet-gtk-ee9eb1867faf9396b37f1025800089debe929814.zip |
-fix use after free
-rw-r--r-- | src/fs/gnunet-fs-gtk_event-handler.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/fs/gnunet-fs-gtk_event-handler.c b/src/fs/gnunet-fs-gtk_event-handler.c index 36e5432c..2ac03659 100644 --- a/src/fs/gnunet-fs-gtk_event-handler.c +++ b/src/fs/gnunet-fs-gtk_event-handler.c | |||
@@ -2472,7 +2472,6 @@ GNUNET_FS_GTK_publish_label_close_button_clicked (GtkButton * button, | |||
2472 | { | 2472 | { |
2473 | gtk_tree_model_get (tm, &iter, 4, &pe, -1); | 2473 | gtk_tree_model_get (tm, &iter, 4, &pe, -1); |
2474 | GNUNET_FS_publish_stop (pe->pc); | 2474 | GNUNET_FS_publish_stop (pe->pc); |
2475 | pe->pc = NULL; | ||
2476 | } | 2475 | } |
2477 | while (TRUE == gtk_tree_model_iter_next (tm, &iter)); | 2476 | while (TRUE == gtk_tree_model_iter_next (tm, &iter)); |
2478 | } | 2477 | } |