Branch: refs/heads/master
Home: https://github.com/dyninst/dyninst
Commit: 44d86e56068f62b9ac03f7d7537098fd3728fcdb
https://github.com/dyninst/dyninst/commit/44d86e56068f62b9ac03f7d7537098fd3728fcdb
Author: Tim Haines <thaines.astro@xxxxxxxxx>
Date: 2023-05-11 (Thu, 11 May 2023)
Changed paths:
M dyninstAPI/src/parse-power.C
M dyninstAPI/src/unix.C
M proccontrol/src/irpc.C
M proccontrol/src/memcache.C
M symtabAPI/src/Symtab-edit.C
Log Message:
-----------
Fix several resource leaks (#1435)
* Local var leak in Symtab::addSymbol
This was found using cppcheck's memleak.
* memCache::doOperation
Not technically a leak, but cppcheck can't see through the 'push_back'.
* PCProcess::hasPassedMain
Found using cppcheck's danglingTemporaryLifetime.
* parse_func::calcParentFunc
Found using cppcheck's danglingTemporaryLifetime.
* int_iRPC::setBinarySize
Found using cppcheck's publicAllocationError.
|