Fixed big bug in Windows widgets allocation. C++ struct was being allocated with csound->Calloc() in the widget code itself. This is not necessary since the widget object is being called by Csound to manage its own memory. Furthermore it could never have worked. I replaced Csound memory management with new and delete, so that the constructors of the vectors in the structure would run and then the csoundModuleDestroy function would not crash by trying to iterator or clear uninitialied std::vector objects.
Fixed big bug in Windows widgets allocation. C++ struct was being allocated with csound->Calloc() in the widget code itself. This is not necessary since the widget object is being called by Csound to manage its own memory. Furthermore it could never have worked. I replaced Csound memory management with new and delete, so that the constructors of the vectors in the structure would run and then the csoundModuleDestroy function would not crash by trying to iterator or clear uninitialied std::vector objects.

nikhilsinghmus/csound,audiokit/csound,Angeldude/csound,audiokit/csound,iver56/csound,max-ilse/csound,max-ilse/csound,nikhilsinghmus/csound,iver56/csound,audiokit/csound,Angeldude/csound,audiokit/csound,mcanthony/csound,mcanthony/csound,mcanthony/csound,max-ilse/csound,nikhilsinghmus/csound,mcanthony/csound,Angeldude/csound,nikhilsinghmus/csound,audiokit/csound,nikhilsinghmus/csound,audiokit/csound,Angeldude/csound,max-ilse/csound,mcanthony/csound,Angeldude/csound,Angeldude/csound,max-ilse/csound,iver56/csound,audiokit/csound,nikhilsinghmus/csound,max-ilse/csound,mcanthony/csound,audiokit/csound,mcanthony/csound,max-ilse/csound,max-ilse/csound,iver56/csound,nikhilsinghmus/csound,audiokit/csound,iver56/csound,mcanthony/csound,nikhilsinghmus/csound,max-ilse/csound,nikhilsinghmus/csound,iver56/csound,iver56/csound,mcanthony/csound,Angeldude/csound,iver56/csound,Angeldude/csound,iver56/csound,Angeldude/csound,iver56/csound,nikhilsinghmus/csound,max-ilse/csound,audiokit/csound,mcanthony/csound,Angeldude/csound