Skip to content

Commit

Permalink
Fix crash on plugin close due to free on uninitialised pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterN committed Feb 13, 2013
1 parent 8a0bcb4 commit 7e467e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drmr_ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,7 @@ instantiate(const LV2UI_Descriptor* descriptor,
ui->trigger_quark = g_quark_from_string("drmr_trigger_quark");
ui->gain_sliders = NULL;
ui->pan_sliders = NULL;
ui->notify_leds = NULL;

// store previous gain/pan vals to re-apply to sliders when we
// change kits
Expand Down

0 comments on commit 7e467e3

Please sign in to comment.