Skip to content

Commit a0120ff

Browse files
committed
FIX | bug in chain
1 parent 2ca65ed commit a0120ff

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

include/std/ManapiChain.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,8 @@ namespace manapi {
237237
}
238238

239239
--this->s_;
240+
m->prev = nullptr;
241+
m->next = nullptr;
240242
return std::move(m);
241243
}
242244

0 commit comments

Comments
 (0)