Added object cleanup at the end of -launch, report all problems please.

Original commit message from CVS:
Added object cleanup at the end of -launch, report all problems
please.
This commit is contained in:
Wim Taymans 2001-12-19 19:23:51 +00:00
parent 5ad018148c
commit 34f05211c2
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ bin_PROGRAMS = gstreamer-launch \
man_MANS = gstreamer-launch.1 gstreamer-register.1 gstreamer-inspect.1 \
gstreamer-complete.1 gstreamer-compprep.1 gstreamer-guilaunch.1
gstreamer_launch_LDADD = $(GST_LIBS)
gstreamer_launch_LDADD = $(GST_LIBS) #-lefence
gstreamer_launch_CFLAGS = $(GST_CFLAGS) -DGST_CONFIG_DIR=\"$(GST_CONFIG_DIR)\"
if !USE_GLIB2

View file

@ -218,7 +218,7 @@ main(int argc, char *argv[])
gst_element_set_state (pipeline, GST_STATE_NULL);
}
//gst_object_unref (GST_OBJECT (pipeline));
gst_object_unref (GST_OBJECT (pipeline));
return 0;
}