playback: Fix leak on select_streams
authorSeungha Yang <sh.yang@lge.com>
Sat, 3 Dec 2016 03:43:22 +0000 (12:43 +0900)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 31 Jan 2017 15:48:04 +0000 (16:48 +0100)
commit10fe0497b2f989ed6e413d65dcc06b6ee3c539fe
treee5ba27e00741b2f1644da440846ddb95d0a51928
parentb8c78c87d2d822d18a91c36efd347df693076829
playback: Fix leak on select_streams

Since gst_event_parse_select_streams() returns newly allocated
memory for stream-id(s), it should be freed explicitly.

https://bugzilla.gnome.org/show_bug.cgi?id=775553
gst/playback/gstdecodebin3.c
gst/playback/gstplaybin3.c