[client] fixed nal parser memory leaks

This commit is contained in:
Geoffrey McRae
2018-01-05 15:27:36 +11:00
parent 2dfb1cf1a6
commit c809eeb2a8
3 changed files with 97 additions and 31 deletions

View File

@@ -159,6 +159,7 @@ static bool lgd_h264_create(void ** opaque)
static void lgd_h264_destroy(void * opaque)
{
struct Inst * this = (struct Inst *)opaque;
nal_deinitialize(this->nal);
lgd_h264_deinitialize(this);
free(this);
}