[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r9550 - gnunet-gtk/src/common
From: |
gnunet |
Subject: |
[GNUnet-SVN] r9550 - gnunet-gtk/src/common |
Date: |
Mon, 16 Nov 2009 05:33:54 -0700 |
Author: grothoff
Date: 2009-11-16 05:33:54 -0700 (Mon, 16 Nov 2009)
New Revision: 9550
Modified:
gnunet-gtk/src/common/helper.c
Log:
fix use after free
Modified: gnunet-gtk/src/common/helper.c
===================================================================
--- gnunet-gtk/src/common/helper.c 2009-11-16 12:27:26 UTC (rev 9549)
+++ gnunet-gtk/src/common/helper.c 2009-11-16 12:33:54 UTC (rev 9550)
@@ -550,7 +550,6 @@
#else
finalPath = GNUNET_strdup (dataDir);
#endif
- GNUNET_free (instDir);
g_free (dataDir);
iconSource = gtk_icon_source_new ();
@@ -562,6 +561,7 @@
gtk_icon_set_add_source (iconSet, iconSource);
iconPath = g_build_filename (instDir, "share", "gnunet-gtk",
"gnunet-gtk-status-connected.png", NULL);
+ GNUNET_free (instDir);
absPath = GNUNET_expand_file_name(NULL, iconPath);
gtk_icon_source_set_filename (iconSource, absPath);
GNUNET_free(absPath);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r9550 - gnunet-gtk/src/common,
gnunet <=