projects
/
centaur.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implement memory management TODOs
[centaur.git]
/
src
/
libelfu
/
modelops
/
reladd.c
diff --git
a/src/libelfu/modelops/reladd.c
b/src/libelfu/modelops/reladd.c
index 1980c765aff0c3c1158439476e363fb4e2900d41..4bc6e40aef84fc0a1a0a9ddae29f4b4a3c4549f1 100644
(file)
--- a/
src/libelfu/modelops/reladd.c
+++ b/
src/libelfu/modelops/reladd.c
@@
-130,7
+130,7
@@
static ElfuScn* insertSection(ElfuElf *me, ElfuElf *mrel, ElfuScn *oldscn)
ERROR:
if (newscn) {
- // TODO: Destroy newscn
+ elfu_mScnDestroy(newscn);
}
return NULL;
}