Implement memory management TODOs
[centaur.git] / src / libelfu / modelops / reladd.c
index 1980c765aff0c3c1158439476e363fb4e2900d41..4bc6e40aef84fc0a1a0a9ddae29f4b4a3c4549f1 100644 (file)
@@ -130,7 +130,7 @@ static ElfuScn* insertSection(ElfuElf *me, ElfuElf *mrel, ElfuScn *oldscn)
 
   ERROR:
   if (newscn) {
-    // TODO: Destroy newscn
+    elfu_mScnDestroy(newscn);
   }
   return NULL;
 }