fix memleak. Fixes #3217

This commit is contained in:
Isaac Connor 2021-05-09 07:18:36 -04:00
parent 2cf6ad8089
commit e970c46f7b
1 changed files with 1 additions and 0 deletions

View File

@ -2629,6 +2629,7 @@ bool Monitor::Decode() {
delete packet->image;
packet->image = nullptr;
}
av_frame_unref(dest_frame);
} // end if have convert_context
} // end if need transfer to image
} else {