diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2005-09-01 13:59:05 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-09-01 13:59:05 +0000 |
commit | 6d2d63f6fd4eeca1003a7a240b0e309068ea1d8a (patch) | |
tree | f5be22ac4c0a3c27b2271aae33457d9dfcc114f0 | |
parent | a327d1d6fd6fbc6a773625fc3b8ab6d2047614f9 (diff) |
Don't forget to free the tmp string
-rw-r--r-- | gobject/gparam.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gobject/gparam.c b/gobject/gparam.c index 6bbeb7143..2f983d882 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) |