diff options
author | Colin Walters <walters@verbum.org> | 2005-06-16 06:05:09 +0000 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2005-06-16 06:05:09 +0000 |
commit | 6b2af67ae1c675eda69bd0995f5e694591160ec5 (patch) | |
tree | bd3515e06b624c04b6357234798209955f604411 | |
parent | ddce490e794c0d1b42dbe6ac1ef21a2b14b4e89d (diff) |
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).
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | bus/bus.c | 5 |
2 files changed, 9 insertions, 1 deletions
@@ -1,5 +1,10 @@ 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, __int64_t, __uint64_t, and __signed. @@ -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 |