projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b2c196
)
Bug 25697 - Fix memory leak in policy reload
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 18 Dec 2009 19:29:40 +0000
(14:29 -0500)
committer
Colin Walters
<walters@verbum.org>
Fri, 18 Dec 2009 19:29:40 +0000
(14:29 -0500)
Signed-off-by: Colin Walters <walters@verbum.org>
bus/bus.c
patch
|
blob
|
history
diff --git
a/bus/bus.c
b/bus/bus.c
index ede6dda6d750c1cb5d575d747c22416d5be6beec..b370f92babab29d088d87cf324f9f51936d3530f 100644
(file)
--- a/
bus/bus.c
+++ b/
bus/bus.c
@@
-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);