From d4d23da5a74c11c1db0ff86862f25b6964479a96 Mon Sep 17 00:00:00 2001 From: Glynn Foster Date: Wed, 16 Feb 2005 10:32:15 +0000 Subject: Fix leak in ZENITY_IMAGE_FULLPATH. Fixes #167518, hopefully. 2005-02-16 Glynn Foster * src/util.h: Fix leak in ZENITY_IMAGE_FULLPATH. Fixes #167518, hopefully. --- src/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/util.h b/src/util.h index 4e3c214..cbf96ab 100644 --- a/src/util.h +++ b/src/util.h @@ -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); -- cgit v1.2.3-54-g00ecf