dbus/test/glib test-profile.c,1.13,1.14

Havoc Pennington hp at freedesktop.org
Fri Nov 26 23:30:24 PST 2004


Update of /cvs/dbus/dbus/test/glib
In directory gabe:/tmp/cvs-serv13572/test/glib

Modified Files:
	test-profile.c 
Log Message:
2004-11-27  Havoc Pennington  <hp at 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
	


Index: test-profile.c
===================================================================
RCS file: /cvs/dbus/dbus/test/glib/test-profile.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- test-profile.c	27 Nov 2004 02:18:36 -0000	1.13
+++ test-profile.c	27 Nov 2004 07:30:22 -0000	1.14
@@ -1148,6 +1148,9 @@
       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;
 }



More information about the dbus-commit mailing list