gstengine: Use proper free function for gstreamer object

Use g_free instead of free for gstreamer allocated string. Ultimately g_free
calls free, but it also adds some glib debug instrumentation.
This commit is contained in:
Jim Broadus 2020-05-22 23:41:59 -07:00 committed by John Maguire
parent 949c20abdf
commit 407a99b2fa
1 changed files with 1 additions and 1 deletions

View File

@ -697,7 +697,7 @@ void GstEnginePipeline::ErrorMessageReceived(GstMessage* msg) {
int domain = error->domain;
int code = error->code;
g_error_free(error);
free(debugs);
g_free(debugs);
if (!redirect_url_.isEmpty() &&
debugstr.contains(