Skip to content

Commit

Permalink
Fix very bad memory leak, FX Page
Browse files Browse the repository at this point in the history
  • Loading branch information
jmamma committed Jul 10, 2023
1 parent 4d90f31 commit f14054d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion avr/cores/megacommand/MCL/FXPage.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ class FXPage : public LightPage, MidiCallback {
bool midi_state = false;

char fx_page_title[8];
fx_param_t *params;

fx_param_t params[2][8];

uint8_t num_of_params;

bool page_mode;
Expand Down

0 comments on commit f14054d

Please sign in to comment.