Explorar o código

libobs-opengl: Use bfree instead of free

The variable is allocated with a bmalloc -- not a malloc.

Closes jp9000/obs-studio#473
michael bishop %!s(int64=10) %!d(string=hai) anos
pai
achega
cd7a648ba4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      libobs-opengl/gl-x11.c

+ 1 - 1
libobs-opengl/gl-x11.c

@@ -375,7 +375,7 @@ fail_context_create:
 fail_load_gl:
 	XCloseDisplay(display);
 fail_display_open:
-	free(plat);
+	bfree(plat);
 	plat = NULL;
 success:
 	UNUSED_PARAMETER(adapter);