aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>2015-12-14 21:36:11 -0800
committerReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>2015-12-15 10:04:59 -0800
commitdadb95142bd4e8c2b831824e666bbc8b5888f501 (patch)
treea1f632d9a47c2082dc7c040f8c42311a76a0f57f
parent1fa81430ca9746ccce620a26313b3c1f1b698e0d (diff)
downloadffmpeg-dadb95142bd4e8c2b831824e666bbc8b5888f501.tar.gz
ffserver: free pathname before bailing out
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
-rw-r--r--ffserver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffserver.c b/ffserver.c
index 36dc2343e7..fcee8742d1 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -443,6 +443,7 @@ static void start_children(FFServerStream *feed)
feed->pid = fork();
if (feed->pid < 0) {
http_log("Unable to create children: %s\n", strerror(errno));
+ av_free (pathname);
exit(EXIT_FAILURE);
}