summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-12 06:21:23 +0000
committerDavid Robillard <d@drobilla.net>2012-05-12 06:21:23 +0000
commit2e8a9b483a8d2ca7ba2a4feb4a845a32ab1eebeb (patch)
tree840b53a3be7071123718281c1ad62258fb6cb5f4 /src/gui
parent1d9bb9768f8a7d0c76fa33688051cd8f2715075d (diff)
downloadingen-2e8a9b483a8d2ca7ba2a4feb4a845a32ab1eebeb.tar.gz
ingen-2e8a9b483a8d2ca7ba2a4feb4a845a32ab1eebeb.tar.bz2
ingen-2e8a9b483a8d2ca7ba2a4feb4a845a32ab1eebeb.zip
Fix memory errors when running as LV2 plugin.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4375 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/ingen_gui_lv2.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/ingen_gui_lv2.cpp b/src/gui/ingen_gui_lv2.cpp
index f4b1aa96..18f1c970 100644
--- a/src/gui/ingen_gui_lv2.cpp
+++ b/src/gui/ingen_gui_lv2.cpp
@@ -55,7 +55,11 @@ struct IngenLV2AtomSink : public Ingen::Shared::AtomSink {
struct IngenLV2UI {
IngenLV2UI()
- : sink(NULL)
+ : argc(0)
+ , argv(NULL)
+ , forge(NULL)
+ , world(NULL)
+ , sink(NULL)
{}
int argc;