Fix invalid memory read (from valgrind) during test_decodeBrokenListLeakTest

Fix invalid memory read (from valgrind) during test_decodeBrokenListLeakTest

Fix invalid memory read (from valgrind) during test_decodeBrokenListLeakTest