gst/parse/grammar.y: Fix a leak in parse-launch for any source-or-sink named element...
authorMichael Smith <msmith@xiph.org>
Thu, 6 Apr 2006 10:38:54 +0000 (10:38 +0000)
committerMichael Smith <msmith@xiph.org>
Thu, 6 Apr 2006 10:38:54 +0000 (10:38 +0000)
commit5fc678a6a749d2fa7107f0e755ee26bfdc6b9849
tree41ba8bcadc023a0916f5c770f6b8223727d081f4
parent96d945bc58888b63062babb25fce9f04a242d464
gst/parse/grammar.y: Fix a leak in parse-launch for any source-or-sink named element references used.

Original commit message from CVS:
* gst/parse/grammar.y:
Fix a leak in parse-launch for any source-or-sink named element
references used.

* tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
Unref the pipeline if it exists after we've failed parsing.
ChangeLog
common
gst/parse/grammar.y
tests/check/pipelines/parse-launch.c