Minor fix to c_impl
This commit is contained in:
parent
2e1c9414f6
commit
4abc0f2949
|
@ -138,6 +138,7 @@ int main(int argc, char **argv) {
|
||||||
Sequence seq = initSequence();
|
Sequence seq = initSequence();
|
||||||
while(seq.indices_end < count) {
|
while(seq.indices_end < count) {
|
||||||
if(nextSeqItem(&seq)) {
|
if(nextSeqItem(&seq)) {
|
||||||
|
cleanupSequence(&seq);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue