Skip to content

Commit

Permalink
Fix memleak due to not deleting okpt in VideoStore destructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac Connor committed Aug 6, 2022
1 parent a5dd420 commit 515632f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/zm_videostore.cpp
Expand Up @@ -761,6 +761,7 @@ VideoStore::~VideoStore() {
avformat_free_context(oc);
delete[] next_dts;
next_dts = nullptr;
delete opkt;
} // VideoStore::~VideoStore()

bool VideoStore::setup_resampler() {
Expand Down

0 comments on commit 515632f

Please sign in to comment.