copy LV2 options to heap.
authorRobin Gareus <robin@gareus.org>
Fri, 25 Sep 2015 17:43:43 +0000 (19:43 +0200)
committerRobin Gareus <robin@gareus.org>
Fri, 25 Sep 2015 17:44:30 +0000 (19:44 +0200)
commit26fdf99a92abfd3e84ae5fb768cb73f99563c156
treea582a32c87c67bee4634f6042fb02a87509f947c
parente935890fc54af99e05dffcb0e07718e6895df47d
copy LV2 options to heap.

Stack pointer becomes invalid when the array goes out of scope.
Fixes rare crash in suil_wrapper_new() or GUIs iterating over options.
libs/ardour/lv2_plugin.cc