Skip to content
  • Tim-Philipp Müller's avatar
    ext/shout2/gstshout2.c: Don't crash in case the connection to the server... · d0b7fc0d
    Tim-Philipp Müller authored
    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.
    d0b7fc0d