diff options
author | Glynn Foster <glynn.foster@sun.com> | 2005-02-16 10:32:15 +0000 |
---|---|---|
committer | Glynn Foster <gman@src.gnome.org> | 2005-02-16 10:32:15 +0000 |
commit | d4d23da5a74c11c1db0ff86862f25b6964479a96 (patch) | |
tree | 0bab0e7dc7f86d16ce218d018da36e04f9630d2c | |
parent | a197b56c07a7ae337901ffe3f3d404fe840480f7 (diff) |
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.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/util.h | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,10 @@ 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> + * src/fileselection.c, THANKS, src/about.c: Fix bug #167577, that leaks a seperator. Patch from Paolo Borelli <pborelli@katamail.com> @@ -9,7 +9,7 @@ G_BEGIN_DECLS #define ZENITY_GLADE_FILE_FULLPATH ZENITY_DATADIR "/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); gchar * zenity_util_strip_newline (gchar *string); |