summaryrefslogtreecommitdiffstats
path: root/src/instance.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/instance.c')
-rw-r--r--src/instance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/instance.c b/src/instance.c
index 88a94fb..a3e2c91 100644
--- a/src/instance.c
+++ b/src/instance.c
@@ -51,7 +51,7 @@ lilv_plugin_instantiate(const LilvPlugin* plugin,
const LV2_Feature** local_features = NULL;
if (features == NULL) {
- local_features = (const LV2_Feature**)malloc(sizeof(LV2_Feature));
+ local_features = (const LV2_Feature**)malloc(sizeof(LV2_Feature*));
local_features[0] = NULL;
}