libnm/tests: fix memleaks in tests for valgrind

This commit is contained in:
Thomas Haller
2015-02-06 13:31:06 +01:00
parent 0750d934bf
commit ae73320b8c
11 changed files with 79 additions and 36 deletions

View File

@@ -1054,8 +1054,8 @@ typedef enum {
g_variant_builder_add (&__setting_builder, "{sv}", \
__cur_property_name, \
__property_val); \
} else \
g_variant_unref (__property_val); \
} \
g_variant_unref (__property_val); \
} \
\
if (__cur_setting_name) \