aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-04-17 11:34:15 -0400
committerNick Mathewson <nickm@torproject.org>2013-04-17 11:34:15 -0400
commit0a9c17a61ad7193a051c53ea2a0cb91e012f014e (patch)
tree01113e25767d4922902b572d6bdc65338eb74454 /src/or/control.c
parentafca9ab14ee16b8dcfcde40a13d49f3612138dcb (diff)
downloadtor-0a9c17a61ad7193a051c53ea2a0cb91e012f014e.tar.gz
tor-0a9c17a61ad7193a051c53ea2a0cb91e012f014e.zip
Fix memory leak when sending configuration-changed event
Fix for bug #8718; bugfix on 0.2.3.3-alpha.
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c
index fc7bae23e1..417f6c6db2 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -4347,7 +4347,7 @@ control_event_guard(const char *nickname, const char *digest,
* a smartlist_t containing (key, value, ...) pairs in sequence.
* <b>value</b> can be NULL. */
int
-control_event_conf_changed(smartlist_t *elements)
+control_event_conf_changed(const smartlist_t *elements)
{
int i;
char *result;