summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2016-04-19 14:14:25 -0500
committerDan Williams <dcbw@redhat.com>2016-04-19 15:24:51 -0500
commit866a5389e1e0c23b3b52bd7893d3a12f83632e77 (patch)
tree000fb49408cac98ed52194f7591165275c31e528 /src
parent6ce72f45f6dd9367a728bce582bf07be369c8c85 (diff)
downloadNetworkManager-866a5389e1e0c23b3b52bd7893d3a12f83632e77.tar.gz
Revert "core: don't leak ActiveConnection object on AddAndActivate failure"
This reverts commit 8b6a1ac62f2cb39b1246d7dff3525b1a8bb48f2c. Original patch was in error; 'active' is already gs_unref_object. (cherry picked from commit 2b0e5cd6e6fd5f03bd82cbf7bd16f5a1a6b89775)
Diffstat (limited to 'src')
-rw-r--r--src/nm-manager.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nm-manager.c b/src/nm-manager.c
index 289a91d6c7..a55e94c00a 100644
--- a/src/nm-manager.c
+++ b/src/nm-manager.c
@@ -3512,7 +3512,6 @@ activation_add_done (NMSettings *settings,
FALSE,
nm_active_connection_get_subject (active),
error->message);
- g_object_unref (active);
g_clear_error (&local);
}