Commit 8b6a1ac6 authored by Dan Williams's avatar Dan Williams
Browse files

core: don't leak ActiveConnection object on AddAndActivate failure

parent f2182fbf
......@@ -3514,6 +3514,7 @@ activation_add_done (NMSettings *settings,
FALSE,
nm_active_connection_get_subject (active),
error->message);
g_object_unref (active);
g_clear_error (&local);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment