summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-02-08 10:49:29 +0100
committerThomas Haller <thaller@redhat.com>2015-02-09 11:51:07 +0100
commit63f5a22ad709299940c8ecc6ed8c58f58698f19b (patch)
tree6681ad5ba3c43dba90cafc369ac183931bb7a047
parenta82d94a64e9929fb2228de0e27ee3f3efbf82043 (diff)
downloadNetworkManager-63f5a22ad709299940c8ecc6ed8c58f58698f19b.tar.gz
config/tests: fix memleak in test code for valgrind
-rw-r--r--src/tests/config/nm-test-device.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/tests/config/nm-test-device.c b/src/tests/config/nm-test-device.c
index 63067b25f6..512085e997 100644
--- a/src/tests/config/nm-test-device.c
+++ b/src/tests/config/nm-test-device.c
@@ -61,12 +61,6 @@ dispose (GObject *object)
g_object_class->dispose (object);
}
-static void
-finalize (GObject *object)
-{
- g_object_class->finalize (object);
-}
-
static guint32
get_generic_capabilities (NMDevice *device)
{
@@ -84,7 +78,6 @@ nm_test_device_class_init (NMTestDeviceClass *klass)
object_class->constructor = constructor;
object_class->constructed = constructed;
object_class->dispose = dispose;
- object_class->finalize = finalize;
device_class->get_generic_capabilities = get_generic_capabilities;
}