diff options
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | nuklear.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index fb88317..96e486e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ # Changelog +- 2016/11/10 (1.183)- Fixed memory leak caused by popup repeated closing - 2016/11/10 (1.182)- Fixed memory leak caused by popup panel allocation - 2016/11/10 (1.181)- Fixed some warnings and C++ error - 2016/11/10 (1.180)- Added additional `nk_button` versions which allows to directly @@ -20572,6 +20572,8 @@ nk_popup_begin(struct nk_context *ctx, enum nk_popup_type type, win->popup.active = 0; ctx->memory.allocated = allocated; ctx->current = win; + nk_free_panel(ctx, popup->layout); + popup->layout = 0; return 0; } } |