1
0
Эх сурвалжийг харах

libobs-opengl: Use bfree instead of free

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

Closes jp9000/obs-studio#473
michael bishop 10 жил өмнө
parent
commit
cd7a648ba4

+ 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);