From fe95b0eb8fdfd8d531a03b621e1a21a6f3c87811 Mon Sep 17 00:00:00 2001
From: "Reynaldo H. Verdejo Pinochet" <reynaldo@osg.samsung.com>
Date: Sun, 4 Oct 2015 22:29:49 -0700
Subject: [PATCH] ffserver: avoid leaking pathname at exit

Fixes Coverity CID 1325681

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
---
 ffserver.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ffserver.c b/ffserver.c
index 85c9f1fd13f..1d4c8dc5b98 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -471,6 +471,7 @@ static void start_children(FFServerStream *feed)
         av_free (pathname);
         _exit(1);
     }
+    av_free (pathname);
 }
 
 /* open a listening socket */
-- 
GitLab