ffserver: avoid leaking pathname at exit

Fixes Coverity CID 1325681

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
This commit is contained in:
Reynaldo H. Verdejo Pinochet 2015-10-04 22:29:49 -07:00
parent 84b4998dbd
commit fe95b0eb8f
1 changed files with 1 additions and 0 deletions

View File

@ -471,6 +471,7 @@ static void start_children(FFServerStream *feed)
av_free (pathname);
_exit(1);
}
av_free (pathname);
}
/* open a listening socket */