Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix another memory leak.

  • Loading branch information...
commit 3ac7eedd61a6476cf359a0d6c161cc8b57bb0fbc 1 parent 6f2667c
huceke authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  h264_parser.c
View
3  h264_parser.c
@@ -1606,6 +1606,9 @@ void free_parser(struct h264_parser *parser)
free_nal_buffer(parser->pps_buffer);
free_nal_buffer(parser->sps_buffer);
free(parser->nal_size_length_buf);
+ if(parser->pic != NULL) {
+ free_coded_picture(parser->pic);
+ }
free(parser);
}

0 comments on commit 3ac7eed

Please sign in to comment.
Something went wrong with that request. Please try again.