summaryrefslogtreecommitdiff
path: root/src/libelfu/modelops/reladd.c
diff options
context:
space:
mode:
authornorly <ny-git@enpas.org>2013-06-28 03:00:05 +0100
committernorly <ny-git@enpas.org>2013-06-28 03:00:05 +0100
commit88a99f6bafe7140711fa0095043c856fd8c44dc7 (patch)
tree387ebd0a82dcf86193438827c39541b072995014 /src/libelfu/modelops/reladd.c
parent50b85e44529f195bf8156e9c0045d8b017ee26f5 (diff)
Implement memory management TODOs
Diffstat (limited to 'src/libelfu/modelops/reladd.c')
-rw-r--r--src/libelfu/modelops/reladd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libelfu/modelops/reladd.c b/src/libelfu/modelops/reladd.c
index 1980c76..4bc6e40 100644
--- 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;
}