mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 07:38:20 +02:00
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:
parent
ddce490e79
commit
6b2af67ae1
2 changed files with 9 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue