[FFmpeg-cvslog] ffserver: free pathname before bailing out

Reynaldo H. Verdejo Pinochet git at videolan.org
Tue Dec 15 19:18:07 CET 2015


ffmpeg | branch: master | Reynaldo H. Verdejo Pinochet <reynaldo at osg.samsung.com> | Mon Dec 14 21:36:11 2015 -0800| [dadb95142bd4e8c2b831824e666bbc8b5888f501] | committer: Reynaldo H. Verdejo Pinochet

ffserver: free pathname before bailing out

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo at osg.samsung.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dadb95142bd4e8c2b831824e666bbc8b5888f501
---

 ffserver.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/ffserver.c b/ffserver.c
index 36dc234..fcee874 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);
         }
 



More information about the ffmpeg-cvslog mailing list