diff options
author | David Crocker <dcrocker@eschertech.com> | 2020-09-21 11:21:19 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2020-09-21 11:21:19 +0300 |
commit | a333a4768eebd64bc7621a1b226baa40b4a9966b (patch) | |
tree | 183ed297c4c343a41b10f8edfd67d998ce31230c /src/Display/Menu.h | |
parent | d25b5cf394f0c678b747fa0753300541c5cf2da1 (diff) |
Fixed memoy leak when M918 used multiple times
Diffstat (limited to 'src/Display/Menu.h')
-rw-r--r-- | src/Display/Menu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Display/Menu.h b/src/Display/Menu.h index 02d64a1a..ec83c139 100644 --- a/src/Display/Menu.h +++ b/src/Display/Menu.h @@ -22,6 +22,8 @@ class Menu { public: Menu(Lcd& refLcd) noexcept; + ~Menu(); + void Load(const char* filename) noexcept; // load a menu file void Pop() noexcept; void EncoderAction(int action) noexcept; |