summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
m---------common0
-rw-r--r--ext/libfame/gstlibfame.c13
3 files changed, 12 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 1b751e69..ca579a65 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
+
+ * ext/libfame/gstlibfame.c: (gst_fameenc_class_init):
+ Memleak fix (#309005).
+
2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
* ext/ogg/README:
diff --git a/common b/common
-Subproject d6e46b214fac0ecb46010ff522af2f7653e1c18
+Subproject 2826306411790bf8aa9298922aa59b126897431
diff --git a/ext/libfame/gstlibfame.c b/ext/libfame/gstlibfame.c
index f33dfd19..83b40513 100644
--- a/ext/libfame/gstlibfame.c
+++ b/ext/libfame/gstlibfame.c
@@ -262,15 +262,16 @@ gst_fameenc_class_init (GstFameEncClass * klass)
if (array->len > 0) {
GType type;
GParamSpec *pspec;
+ gchar *str1, *str2;
- type =
- g_enum_register_static (g_strdup_printf ("GstFameEnc_%s",
- current_type), (GEnumValue *) array->data);
+ str1 = g_strdup_printf ("GstFameEnc_%s", current_type);
+ type = g_enum_register_static (str1, (GEnumValue *) array->data);
+ g_free (str1);
- pspec =
- g_param_spec_enum (current_type, current_type,
- g_strdup_printf ("The FAME \"%s\" object", current_type), type,
+ str2 = g_strdup_printf ("The FAME \"%s\" object", current_type);
+ pspec = g_param_spec_enum (current_type, current_type, str2, type,
default_index, G_PARAM_READWRITE);
+ g_free (str2);
g_param_spec_set_qdata (pspec, fame_object_name, (gpointer) current_type);