From a244c1d4aae776d98a769fcf51b2d8bbca502ca4 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 22 Nov 2013 16:08:47 +0100 Subject: conf: Fix CID 1130973 - resource leak. Found by coverity. Signed-off-by: Michael Adam --- src/conf.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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; } } -- cgit v1.2.3