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:
parent
949c20abdf
commit
407a99b2fa
|
@ -697,7 +697,7 @@ void GstEnginePipeline::ErrorMessageReceived(GstMessage* msg) {
|
||||||
int domain = error->domain;
|
int domain = error->domain;
|
||||||
int code = error->code;
|
int code = error->code;
|
||||||
g_error_free(error);
|
g_error_free(error);
|
||||||
free(debugs);
|
g_free(debugs);
|
||||||
|
|
||||||
if (!redirect_url_.isEmpty() &&
|
if (!redirect_url_.isEmpty() &&
|
||||||
debugstr.contains(
|
debugstr.contains(
|
||||||
|
|
Loading…
Reference in New Issue