Skip to content
Commit 9ce76512 authored by Corey O'Connor's avatar Corey O'Connor
Browse files

Use strdup not qstrdup to avoid mlt_profile_close free'ing memory allocated with new.

This issue was identified using valgrind. Output:

==200828== Mismatched free() / delete / delete []
==200828==    at 0x4C2E668: free (in
/nix/store/270csszcn55xv52pjmvgr6cgy5grc8y5-valgrind-3.14.0/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==200828==    by 0xAFCBFD0: mlt_profile_close (in
/nix/store/l1dy6sf0sf6j7r7m45sg0xa8i8fxw4zq-mlt-6.13.0/lib/libmlt.so.6.13.0)
==200828==    by 0x7E52F8: GLWidget::~GLWidget() (glwidget.cpp:173)
parent bd12c4fa
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