ffserver: avoid leaking pathname at exit

Fixes Coverity CID 1325681
Signed-off-by: 's avatarReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
parent 84b4998d
...@@ -471,6 +471,7 @@ static void start_children(FFServerStream *feed) ...@@ -471,6 +471,7 @@ static void start_children(FFServerStream *feed)
av_free (pathname); av_free (pathname);
_exit(1); _exit(1);
} }
av_free (pathname);
} }
/* open a listening socket */ /* open a listening socket */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment