提交 f76a3db2 编写于 作者: J Jim

Merge pull request #17 from reboot/master

Don't close module if opening failed during graphics initialization
......@@ -159,7 +159,8 @@ void gs_destroy(graphics_t graphics)
pthread_mutex_destroy(&graphics->mutex);
da_free(graphics->matrix_stack);
da_free(graphics->viewport_stack);
os_dlclose(graphics->module);
if (graphics->module)
os_dlclose(graphics->module);
bfree(graphics);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册