ffserver: free AVStream st before wiping context

Should fix FFmpeg Coverity Scan issue #732269

Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
pull/108/head
Reynaldo H. Verdejo Pinochet 11 years ago
parent 107f2468c4
commit 1404e2a389
  1. 1
      ffserver.c

@ -3468,6 +3468,7 @@ static int rtp_new_av_stream(HTTPContext *c,
fail:
if (h)
ffurl_close(h);
av_free(st);
av_free(ctx);
return -1;
}

Loading…
Cancel
Save