From: Jens Georg Date: Thu, 30 Jun 2011 13:43:53 +0000 (+0200) Subject: Add missing goto on error while setting TTL X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8fb19991b891f3244367895db8935c51e331fe26;p=profile%2Fivi%2FGSSDP.git Add missing goto on error while setting TTL Fixes https://bugzilla.gnome.org/show_bug.cgi?id=653733 --- diff --git a/libgssdp/gssdp-socket-source.c b/libgssdp/gssdp-socket-source.c index fc834ea..46fd7b8 100644 --- a/libgssdp/gssdp-socket-source.c +++ b/libgssdp/gssdp-socket-source.c @@ -205,6 +205,7 @@ gssdp_socket_source_do_init (GInitable *initable, inner_error, "Failed to set TTL"); + goto error; } /* Set up additional things according to the type of socket desired */ if (self->priv->type == GSSDP_SOCKET_SOURCE_TYPE_MULTICAST) {