projects
/
NetworkManager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4492f4
)
libnm,tests: fix error leak
author
Dan Williams
<dcbw@redhat.com>
Thu, 21 Jan 2016 17:31:01 +0000
(11:31 -0600)
committer
Dan Williams
<dcbw@redhat.com>
Thu, 21 Jan 2016 17:31:31 +0000
(11:31 -0600)
libnm/tests/test-nm-client.c
patch
|
blob
|
history
diff --git
a/libnm/tests/test-nm-client.c
b/libnm/tests/test-nm-client.c
index
5be6914
..
70e93ac
100644
(file)
--- a/
libnm/tests/test-nm-client.c
+++ b/
libnm/tests/test-nm-client.c
@@
-101,6
+101,7
@@
test_device_added (void)
/* Try deleting the device via the ordinary NM interface, which should fail */
nm_device_delete (device, NULL, &error);
g_assert_error (error, NM_DEVICE_ERROR, NM_DEVICE_ERROR_NOT_SOFTWARE);
+ g_clear_error (&error);
g_object_unref (client);
g_clear_pointer (&sinfo, nmtstc_service_cleanup);