mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Fix memory leak in thumbnail size check
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user