mirror of
https://github.com/QuasarApp/pe-parse.git
synced 2025-04-26 04:14:32 +00:00
parse: Fix small memory leak (#124)
This commit is contained in:
parent
2bf8ad917e
commit
164666cb5b
@ -2670,6 +2670,7 @@ bool GetDataDirectoryEntry(parsed_pe *pe,
|
||||
}
|
||||
|
||||
raw_entry.assign(buf->buf, buf->buf + buf->bufLen);
|
||||
deleteBuffer(buf);
|
||||
} else {
|
||||
section sec;
|
||||
if (!getSecForVA(pe->internal->secs, addr, sec)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user