From 27d973f2bf6ec4ea98b1737031ed339bedc056c0 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 6 Feb 2002 15:02:26 +0000 Subject: [PATCH] i thought _get gave you a copy of the string --- he's right Original commit message from CVS: i thought _get gave you a copy of the string --- he's right --- tools/gst-launch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/gst-launch.c b/tools/gst-launch.c index 43f83b6f49..783e0b1f24 100644 --- a/tools/gst-launch.c +++ b/tools/gst-launch.c @@ -52,6 +52,7 @@ property_change_callback (GObject *object, GstObject *orig, GParamSpec *pspec) gchar *str; g_object_get (orig, pspec->name, &str, NULL); g_print ("%s: %s = \"%s\"\n", GST_OBJECT_NAME (orig), pspec->name, str); + g_free (str); } else if (G_IS_PARAM_SPEC_CHAR (pspec)) { gchar str; g_object_get (orig, pspec->name, &str, NULL);