projects
/
melted
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
+ Oops - fix for memory leak
[melted]
/
mlt++
/
src
/
MltPushConsumer.cpp
diff --git
a/mlt++/src/MltPushConsumer.cpp
b/mlt++/src/MltPushConsumer.cpp
index
5c70777
..
7d96218
100644
(file)
--- a/
mlt++/src/MltPushConsumer.cpp
+++ b/
mlt++/src/MltPushConsumer.cpp
@@
-140,6
+140,7
@@
Frame *PushConsumer::construct( int size )
Frame *frame = new Frame( f );
uint8_t *buffer = ( uint8_t * )mlt_pool_alloc( size );
frame->set( "image", buffer, size, mlt_pool_release );
+ mlt_frame_close( f );
return frame;
}