Fix leak in ZENITY_IMAGE_FULLPATH. Fixes #167518, hopefully.

2005-02-16  Glynn Foster  <glynn.foster@sun.com>

	* src/util.h: Fix leak in ZENITY_IMAGE_FULLPATH. Fixes
	#167518, hopefully.
This commit is contained in:
Glynn Foster 2005-02-16 10:32:15 +00:00 committed by Glynn Foster
parent a197b56c07
commit d4d23da5a7
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-02-16 Glynn Foster <glynn.foster@sun.com>
* src/util.h: Fix leak in ZENITY_IMAGE_FULLPATH. Fixes
#167518, hopefully.
2005-02-16 Glynn Foster <glynn.foster@sun.com> 2005-02-16 Glynn Foster <glynn.foster@sun.com>
* src/fileselection.c, THANKS, src/about.c: Fix bug * src/fileselection.c, THANKS, src/about.c: Fix bug

View File

@ -9,7 +9,7 @@ G_BEGIN_DECLS
#define ZENITY_GLADE_FILE_FULLPATH ZENITY_DATADIR "/zenity.glade" #define ZENITY_GLADE_FILE_FULLPATH ZENITY_DATADIR "/zenity.glade"
#define ZENITY_GLADE_FILE_RELATIVEPATH "./zenity.glade" #define ZENITY_GLADE_FILE_RELATIVEPATH "./zenity.glade"
#define ZENITY_IMAGE_FULLPATH(filename) (g_strconcat (ZENITY_DATADIR, "/", filename, NULL)) #define ZENITY_IMAGE_FULLPATH(filename) (ZENITY_DATADIR "/" filename)
GladeXML* zenity_util_load_glade_file (const gchar *widget_root); GladeXML* zenity_util_load_glade_file (const gchar *widget_root);
gchar * zenity_util_strip_newline (gchar *string); gchar * zenity_util_strip_newline (gchar *string);