mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
[Coverity] Fix leak when converting thumbnail for fetch
This commit is contained in:
@@ -99,6 +99,8 @@ static RDCThumb convertThumb(FileType thumbType, uint32_t thumbWidth, uint32_t t
|
||||
|
||||
ret.pixels = pixels;
|
||||
ret.len = (uint32_t)len;
|
||||
|
||||
free(decoded);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user