Skip to content

Commit

Permalink
Fix memory leak in MltPushConsumer
Browse files Browse the repository at this point in the history
As reported here:
mltframework#961
  • Loading branch information
bmatherly committed Dec 6, 2023
1 parent 934c20d commit 190444b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/mlt++/MltPushConsumer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ PushConsumer::PushConsumer(Profile &profile, const char *id, const char *service
}
}

PushConsumer::~PushConsumer() {}
PushConsumer::~PushConsumer() {
delete m_private;
}

void PushConsumer::set_render(int width, int height, double aspect_ratio)
{
Expand Down

0 comments on commit 190444b

Please sign in to comment.