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