dispatcher/tests: fix memleak in test

Causes valgrind failure.

Fixes: 570e8ee296
This commit is contained in:
Thomas Haller
2016-08-12 14:01:38 +02:00
parent f956d2e3ef
commit 1acbe1d66f

View File

@@ -456,7 +456,7 @@ test_generic (const char *file, const char *override_vpn_ip_iface)
GVariant *device_ip6_props = NULL;
GVariant *device_dhcp4_props = NULL;
GVariant *device_dhcp6_props = NULL;
char *connectivity_change = NULL;
gs_free char *connectivity_change = NULL;
char *vpn_ip_iface = NULL;
GVariant *vpn_ip4_props = NULL;
GVariant *vpn_ip6_props = NULL;