From 2fdaa29f087931756a89098d45351230ce20ed5e Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Tue, 15 Jul 2014 21:55:40 +0200 Subject: [PATCH] libnm-util: fix leak in _nm_connection_verify() Regression introduced by commit 2570c5a17ceab3eb39695493b07144cba04eadbf. Signed-off-by: Thomas Haller --- libnm-util/nm-connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnm-util/nm-connection.c b/libnm-util/nm-connection.c index 9125d93110..7e26309c57 100644 --- a/libnm-util/nm-connection.c +++ b/libnm-util/nm-connection.c @@ -833,7 +833,7 @@ _nm_connection_verify (NMConnection *connection, GError **error) NM_CONNECTION_ERROR_CONNECTION_TYPE_INVALID, "connection type '%s' is not a base type", ctype); - return FALSE; + goto EXIT; } s_ip4 = nm_connection_get_setting_ip4_config (connection);