diff options
| author | Mark Wielaard <[email protected]> | 2015-06-18 10:50:19 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2015-06-19 13:08:00 +0200 |
| commit | 3c57452a45b9ab3ce9fa7994c42eda677483cb46 (patch) | |
| tree | ed8c17832a7ff0cc5df667f673d44b05a01dc045 /src/readelf.c | |
| parent | 77be59bca4057b22af70b0b2d0197f9505577381 (diff) | |
libelf: Don't leak memory on failure paths in elf_updatefile.
When something goes wrong during the update make sure to always free any
temporary allocated memory (shdr_data and/or scns).
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'src/readelf.c')
0 files changed, 0 insertions, 0 deletions
