aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-amp.lv2/amp.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/eg-amp.lv2/amp.c')
-rw-r--r--plugins/eg-amp.lv2/amp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/eg-amp.lv2/amp.c b/plugins/eg-amp.lv2/amp.c
index 2aa39c4..4aef8d4 100644
--- a/plugins/eg-amp.lv2/amp.c
+++ b/plugins/eg-amp.lv2/amp.c
@@ -1,5 +1,5 @@
/*
- Copyright 2006-2011 David Robillard <d@drobilla.net>
+ Copyright 2006-2016 David Robillard <d@drobilla.net>
Copyright 2006 Steve Harris <steve@plugin.org.uk>
Permission to use, copy, modify, and/or distribute this software for any
@@ -76,7 +76,7 @@ instantiate(const LV2_Descriptor* descriptor,
const char* bundle_path,
const LV2_Feature* const* features)
{
- Amp* amp = (Amp*)malloc(sizeof(Amp));
+ Amp* amp = (Amp*)calloc(1, sizeof(Amp));
return (LV2_Handle)amp;
}