Fix crash on plugin close due to free on uninitialised pointer

This commit is contained in:
Peter Nelson 2013-02-13 15:24:39 +00:00
parent 8a0bcb4610
commit 7e467e3a74

View File

@ -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