From b60c835d346b7e214e627abd8e0cdf06932313a7 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sat, 27 Nov 2004 07:30:22 +0000 Subject: 2004-11-27 Havoc Pennington * 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 --- test/glib/test-profile.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/glib/test-profile.c') 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; } -- cgit