diff options
author | Michael Biebl <biebl@debian.org> | 2015-05-05 17:48:57 +0200 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2015-05-05 17:48:57 +0200 |
commit | f408e27bccfacf347605a8d98649975a68f38a17 (patch) | |
tree | 654fd6695c31511baf919b1c0870d119a352ed75 /libnm-core/tests/test-setting-dcb.c | |
parent | 2c032d8f1c6292c1338a615e6ec40252889ba85c (diff) |
Imported Upstream version 1.0.2upstream/1.0.2
Diffstat (limited to 'libnm-core/tests/test-setting-dcb.c')
-rw-r--r-- | libnm-core/tests/test-setting-dcb.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/libnm-core/tests/test-setting-dcb.c b/libnm-core/tests/test-setting-dcb.c index 8adab8ce8..f7554e81a 100644 --- a/libnm-core/tests/test-setting-dcb.c +++ b/libnm-core/tests/test-setting-dcb.c @@ -28,6 +28,7 @@ #include "nm-setting-dcb.h" #include "nm-connection.h" #include "nm-errors.h" +#include "gsystem-local-alloc.h" #define DCB_FLAGS_ALL (NM_SETTING_DCB_FLAG_ENABLE | \ NM_SETTING_DCB_FLAG_ADVERTISE | \ @@ -36,7 +37,7 @@ static void test_dcb_flags_valid (void) { - NMSettingDcb *s_dcb; + gs_unref_object NMSettingDcb *s_dcb = NULL; GError *error = NULL; gboolean success; guint i; @@ -89,7 +90,7 @@ test_dcb_flags_valid (void) static void test_dcb_flags_invalid (void) { - NMSettingDcb *s_dcb; + gs_unref_object NMSettingDcb *s_dcb = NULL; GError *error = NULL; gboolean success; @@ -148,7 +149,7 @@ test_dcb_flags_invalid (void) static void test_dcb_app_priorities (void) { - NMSettingDcb *s_dcb; + gs_unref_object NMSettingDcb *s_dcb = NULL; GError *error = NULL; gboolean success; @@ -210,7 +211,7 @@ test_dcb_app_priorities (void) static void test_dcb_priorities_valid (void) { - NMSettingDcb *s_dcb; + gs_unref_object NMSettingDcb *s_dcb = NULL; GError *error = NULL; gboolean success; guint i; @@ -269,7 +270,7 @@ test_dcb_priorities_valid (void) static void test_dcb_bandwidth_sums (void) { - NMSettingDcb *s_dcb; + gs_unref_object NMSettingDcb *s_dcb = NULL; GError *error = NULL; gboolean success; |