Commit e1beea6f authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

Fix memory leak for android

parent ec0a638d
#define GIT_VERSION "2.8.2"
......@@ -248,6 +248,10 @@ static int video_set_native_preview_window(MSFilter *f, void *arg) {
} else {
ms_message("Preview capture window set but camera not created yet; remembering it for later use\n");
if (d->previewWindow) {
ms_message("Deleting previous preview window %p", d->previewWindow);
d->previewWindow = w;
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