From: Matthias Clasen Date: Thu, 1 Sep 2005 13:59:05 +0000 (+0000) Subject: Don't forget to free the tmp string X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=6d2d63f6fd4eeca1003a7a240b0e309068ea1d8a;p=dana%2Fcg-glib.git Don't forget to free the tmp string --- diff --git a/gobject/gparam.c b/gobject/gparam.c index 6bbeb714..2f983d88 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)