minor cleanups
authorAndy Wingo <wingo@pobox.com>
Tue, 15 Jan 2002 05:58:45 +0000 (05:58 +0000)
committerAndy Wingo <wingo@pobox.com>
Tue, 15 Jan 2002 05:58:45 +0000 (05:58 +0000)
Original commit message from CVS:
minor cleanups

tools/gst-launch.c

index df4992c..6241f66 100644 (file)
@@ -129,13 +129,13 @@ xmllaunch_parse_cmdline (const gchar *argv[])
     *property++ = '\0';
     *value++ = '\0';
     
-    g_print ("%s, %s, %s\n", element, property, value);
     e = gst_bin_get_by_name (GST_BIN (pipeline), element);
     if (!e) {
       g_warning ("element named '%s' not found", element);
     } else {
       gst_util_set_object_arg (G_OBJECT (e), property, value);
     }
+    g_free (element);
   }
   
   if (!l)