From 6d2d63f6fd4eeca1003a7a240b0e309068ea1d8a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 1 Sep 2005 13:59:05 +0000 Subject: [PATCH] Don't forget to free the tmp string --- gobject/gparam.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gobject/gparam.c b/gobject/gparam.c index 6bbeb71..2f983d8 100644 --- a/gobject/gparam.c +++ b/gobject/gparam.c @@ -307,6 +307,7 @@ g_param_spec_internal (GType param_type, tmp = g_strdup (name); canonicalize_key (tmp); pspec->name = g_intern_string (tmp); + g_free (tmp); } if (flags & G_PARAM_STATIC_NICK) -- 2.7.4