ext/shout2/gstshout2.c: Don't crash in case the connection to the server fails: don...
authorTim-Philipp Müller <tim@centricular.net>
Mon, 17 Apr 2006 19:12:36 +0000 (19:12 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Mon, 17 Apr 2006 19:12:36 +0000 (19:12 +0000)
commitd0b7fc0d81abb208e7240b29fd6a58c26e0fd8f4
tree8bdf83a36ceb6fa87ad24eb8cf0bb7757a396e5d
parent5ff469042fabf9c436a1fe3b3a8eadb20ab0f5d8
ext/shout2/gstshout2.c: Don't crash in case the connection to the server fails: don't set pointer to NULL by assignin...

Original commit message from CVS:
* ext/shout2/gstshout2.c: (gst_shout2send_render):
Don't crash in case the connection to the server fails:
don't set pointer to NULL by assigning FALSE; error out
properly by using GST_ELEMENT_ERROR and returning
GST_FLOW_ERROR (fixes #338636). Lastly, free connection
before resetting the pointer.
ChangeLog
ext/shout2/gstshout2.c