diff options
author | Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> | 2015-12-14 21:36:11 -0800 |
---|---|---|
committer | Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> | 2015-12-15 10:04:59 -0800 |
commit | dadb95142bd4e8c2b831824e666bbc8b5888f501 (patch) | |
tree | a1f632d9a47c2082dc7c040f8c42311a76a0f57f | |
parent | 1fa81430ca9746ccce620a26313b3c1f1b698e0d (diff) | |
download | ffmpeg-dadb95142bd4e8c2b831824e666bbc8b5888f501.tar.gz |
ffserver: free pathname before bailing out
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
-rw-r--r-- | ffserver.c | 1 |
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); } |