souphttpclientsink: Fix error leak and handle error
authorVineeth TM <vineeth.tm@samsung.com>
Wed, 18 Nov 2015 05:48:36 +0000 (14:48 +0900)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 18 Nov 2015 07:31:42 +0000 (09:31 +0200)
commitbd701b8ee52b8dd72db6b36f3c8179ec998756b5
tree1f747da77b515bf2510fe43e73aff9035434ad3d
parent84b6743cf813651a6a6107ab3a875d2108cb6da7
souphttpclientsink: Fix error leak and handle error

g_thread_try_new allows for possiblity of failures. In case it fails,
error is not handled and leaked.

https://bugzilla.gnome.org/show_bug.cgi?id=758260
ext/soup/gstsouphttpclientsink.c