2005-06-16 Colin Walters <walters@verbum.org>

* bus/bus.c (bus_context_new): Set parser to NULL
	after we unref it (Patch from Chris Boscolo, #2174).
This commit is contained in:
Colin Walters 2005-06-16 06:05:09 +00:00
parent ddce490e79
commit 6b2af67ae1
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-06-16 Colin Walters <walters@verbum.org>
* bus/bus.c (bus_context_new): Set parser to NULL
after we unref it (Patch from Chris Boscolo, #2174).
2005-06-16 Colin Walters <walters@verbum.org>
* python/dbus_bindings.pyx.in: Import size_t,

View file

@ -732,7 +732,10 @@ bus_context_new (const DBusString *config_file,
}
if (parser != NULL)
bus_config_parser_unref (parser);
{
bus_config_parser_unref (parser);
parser = NULL;
}
/* Here we change our credentials if required,
* as soon as we've set up our sockets and pidfile