summaryrefslogtreecommitdiff
path: root/src/network/test-network.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2013-11-18 11:54:09 +0100
committerTom Gundersen <teg@jklm.no>2013-11-19 14:39:19 +0100
commit0617ffabe86a6d366252477eafbe59a888b149d4 (patch)
tree9fa24943465d2ce0dbc6d6b306c677d14b092496 /src/network/test-network.c
parentbc9cdba5ddf78d0ecb5c64f55621bb2f474ea280 (diff)
networkd: make sure Links and Networks are freed
Diffstat (limited to 'src/network/test-network.c')
-rw-r--r--src/network/test-network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/test-network.c b/src/network/test-network.c
index 7a7840ee16..822a334607 100644
--- a/src/network/test-network.c
+++ b/src/network/test-network.c
@@ -23,7 +23,7 @@
static void test_link(struct udev_device *loopback) {
_cleanup_manager_free_ Manager *manager = NULL;
- _cleanup_link_free_ Link *link = NULL;
+ Link *link = NULL;
manager_new(&manager);