summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2004-11-27 07:30:22 +0000
committerHavoc Pennington <hp@redhat.com>2004-11-27 07:30:22 +0000
commitb60c835d346b7e214e627abd8e0cdf06932313a7 (patch)
treec008f48c0c02ac878a4ff1400ee625805f496e16 /test
parent65090abbb9582d25a795f1dd835ea03973be75e7 (diff)
2004-11-27 Havoc Pennington <hp@redhat.com>
* dbus/dbus-string.h (_dbus_string_get_byte): inline when asserts are disabled (_dbus_string_get_const_data): inline when asserts are disabled * dbus/dbus-message.c: record the _dbus_current_generation of creation so we can complain if dbus_shutdown() is used improperly. Do this only if checks are enabled. * dbus/dbus-connection.c: ditto
Diffstat (limited to 'test')
-rw-r--r--test/glib/test-profile.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/glib/test-profile.c b/test/glib/test-profile.c
index 375a8408..8e636d0a 100644
--- a/test/glib/test-profile.c
+++ b/test/glib/test-profile.c
@@ -1148,6 +1148,9 @@ main (int argc, char *argv[])
g_printerr ("Specify profile type plain_sockets, plain_sockets_with_malloc, no_bus, with_bus, all\n");
exit (1);
}
+
+ /* Make valgrind happy */
+ dbus_shutdown ();
return 0;
}