Browse Source

ffserver: free pathname before bailing out

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
tags/n3.0
Reynaldo H. Verdejo Pinochet 9 years ago
parent
commit
dadb95142b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      ffserver.c

+ 1
- 0
ffserver.c View File

@@ -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);
}



Loading…
Cancel
Save