Add missing goto on error while setting TTL
authorJens Georg <mail@jensge.org>
Thu, 30 Jun 2011 13:43:53 +0000 (15:43 +0200)
committerJens Georg <mail@jensge.org>
Thu, 30 Jun 2011 13:51:20 +0000 (15:51 +0200)
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=653733

libgssdp/gssdp-socket-source.c

index fc834ea..46fd7b8 100644 (file)
@@ -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) {