summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/conf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conf.c b/src/conf.c
index 740c7f4..c003627 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -903,6 +903,7 @@ static HANDLE_FUNC (handle_listen)
if (conf->listen_addrs == NULL) {
log_message(LOG_WARNING, "Could not create a list "
"of listen addresses.");
+ safefree(arg);
return -1;
}
}