fixed potential crash bug with empty (padding) element buttons in editor
authorHolger Schemel <info@artsoft.org>
Sat, 1 Dec 2018 10:41:54 +0000 (11:41 +0100)
committerHolger Schemel <info@artsoft.org>
Sat, 1 Dec 2018 10:41:54 +0000 (11:41 +0100)
This fixes a bug that can cause a crash when accessing memory that was
already free()'ed again, because the variable that contains the amount
of allocated memory is not updated when memory allocation changes.

The bug is fixed by updating that variable when memory is allocated.


No differences found