diff options
author | Matthias Clasen <mclasen@redhat.com> | 2009-12-18 14:29:40 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2009-12-18 14:29:40 -0500 |
commit | 8343c971cdedfda6107b0f4f73210d88f64507c6 (patch) | |
tree | c5afa31159ff4e5625c63b607c6b13daae63b8ce | |
parent | 9b2c196ef36260ef455f0746f003aec6ffe6ff4c (diff) | |
download | dbus-8343c971cdedfda6107b0f4f73210d88f64507c6.tar.gz |
Bug 25697 - Fix memory leak in policy reload
Signed-off-by: Colin Walters <walters@verbum.org>
-rw-r--r-- | bus/bus.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -433,6 +433,8 @@ process_config_every_time (BusContext *context, /* get our limits and timeout lengths */ bus_config_parser_get_limits (parser, &context->limits); + if (context->policy) + bus_policy_unref (context->policy); context->policy = bus_config_parser_steal_policy (parser); _dbus_assert (context->policy != NULL); |