Commit 7bc9e2aa2fe4b554021129fabb8a46b5a33ed4e9

Carlos Martín Nieto 2011-05-31T15:06:22

Guard against double-freeing the current section If parse_section_header{,_ext} return an error, current_section doesn't get allocated. Set it to NULL after freeing so we don't try to free it again. This fixes part 2-2 of Issue #210. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>