diff options
Diffstat (limited to 'src/libelfu/model/elf.c')
-rw-r--r-- | src/libelfu/model/elf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libelfu/model/elf.c b/src/libelfu/model/elf.c index 46dc120..a25aa89 100644 --- a/src/libelfu/model/elf.c +++ b/src/libelfu/model/elf.c @@ -42,8 +42,8 @@ void elfu_mElfDestroy(ElfuElf* me) elfu_mPhdrDestroy(mp); } - CIRCLEQ_FOREACH(ms, &me->orphanScnList, elem) { - CIRCLEQ_REMOVE(&me->orphanScnList, ms, elem); + CIRCLEQ_FOREACH(ms, &me->orphanScnList, elemChildScn) { + CIRCLEQ_REMOVE(&me->orphanScnList, ms, elemChildScn); elfu_mScnDestroy(ms); } |