summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2016-01-14 07:00:13 +0000
committerSimon McVittie <smcv@debian.org>2016-01-14 07:00:13 +0000
commit43a446bbd4e7c5726e87882b03185df37e97fe73 (patch)
tree5be9628b6127950cc30ccb32e919a7b28d2ee72e
parent6211894d92d45271fa5e8c964521ca8ee2cef1ac (diff)
downloaddbus-glib-43a446bbd4e7c5726e87882b03185df37e97fe73.tar.gz
test: stop calling g_mem_profile(), no longer supported
This now raises a g_warning() which makes the test fail.
-rw-r--r--test/core/test-dbus-glib.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/core/test-dbus-glib.c b/test/core/test-dbus-glib.c
index d35f855..acab197 100644
--- a/test/core/test-dbus-glib.c
+++ b/test/core/test-dbus-glib.c
@@ -1554,8 +1554,6 @@ main (int argc, char **argv)
g_hash_table_destroy (table);
g_hash_table_destroy (ret_table);
-
- g_mem_profile ();
}
for (i=0; i<3; i++)
@@ -1602,8 +1600,6 @@ main (int argc, char **argv)
g_hash_table_destroy (table);
g_hash_table_destroy (ret_table);
-
- g_mem_profile ();
}
for (i=0; i<3; i++)
@@ -1657,8 +1653,6 @@ main (int argc, char **argv)
g_boxed_free (dbus_g_type_get_map ("GHashTable", DBUS_TYPE_G_OBJECT_PATH,
dbus_g_type_get_collection ("GPtrArray", DBUS_TYPE_G_OBJECT_PATH)), ret_table);
-
- g_mem_profile ();
}