Fix memory leak in thumbnail size check

This commit is contained in:
Cory Bloor
2016-04-17 02:38:35 -06:00
parent f9763992ee
commit 068e38f8f3
+1
View File
@@ -379,6 +379,7 @@ bool32 RENDERDOC_CC RENDERDOC_GetThumbnail(const char *filename, byte *buf, uint
if(buf == NULL)
{
len = (uint32_t)thumblen;
delete[] jpgbuf;
return true;
}