summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlynn Foster <glynn.foster@sun.com>2005-02-16 10:32:15 +0000
committerGlynn Foster <gman@src.gnome.org>2005-02-16 10:32:15 +0000
commitd4d23da5a74c11c1db0ff86862f25b6964479a96 (patch)
tree0bab0e7dc7f86d16ce218d018da36e04f9630d2c
parenta197b56c07a7ae337901ffe3f3d404fe840480f7 (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--ChangeLog5
-rw-r--r--src/util.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 42b98f1..e964202 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
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);