Commit 9eaed75d authored by DanmeiChen's avatar DanmeiChen

fix of memory leaks

parent 961aa33a
......@@ -183,6 +183,8 @@ void VideoToolboxEncoder::feed(mblk_t *rawData, uint64_t time, bool requestIFram
}
}
CFRelease(pixbuf);
CFRelease(frameProperties);
freemsg(rawData);
}
bool VideoToolboxEncoder::fetch(MSQueue *encodedData) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment