REVIEW: Memory Leak - vgCreateContextSH()
1,624 bytes in 1 blocks are still reachable
This commit is contained in:
@@ -39,6 +39,7 @@ VG_API_CALL VGboolean vgCreateContextSH(VGint width, VGint height)
|
|||||||
if (g_context) return VG_TRUE;
|
if (g_context) return VG_TRUE;
|
||||||
|
|
||||||
/* create new context */
|
/* create new context */
|
||||||
|
// REVIEW: Memory Leak - 1,624 bytes in 1 blocks are still reachable
|
||||||
SH_NEWOBJ(VGContext, g_context);
|
SH_NEWOBJ(VGContext, g_context);
|
||||||
if (!g_context) return VG_FALSE;
|
if (!g_context) return VG_FALSE;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user