REVIEW: Memory Leak - vgCreateContextSH()

1,624 bytes in 1 blocks are still reachable
This commit is contained in:
Scott Giese 2020-08-23 00:27:31 -05:00
parent 3550047bc8
commit 7ac400a162

View File

@ -39,6 +39,7 @@ VG_API_CALL VGboolean vgCreateContextSH(VGint width, VGint height)
if (g_context) return VG_TRUE;
/* create new context */
// REVIEW: Memory Leak - 1,624 bytes in 1 blocks are still reachable
SH_NEWOBJ(VGContext, g_context);
if (!g_context) return VG_FALSE;