mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-09 22:01:36 +00:00
[Coverity] Fix leak when converting thumbnail for fetch
This commit is contained in:
1 file changed
+2
@@ -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