common.h: remove cxfree
Apparently XFree does take NULL. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
@ -197,7 +197,7 @@ bool glx_init(session_t *ps, bool need_render) {
|
||||
success = true;
|
||||
|
||||
glx_init_end:
|
||||
cxfree(pvis);
|
||||
XFree(pvis);
|
||||
|
||||
if (!success)
|
||||
glx_destroy(ps);
|
||||
|
Reference in New Issue
Block a user