You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
ffserver: free pathname before bailing out
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user