diff options
author | David Robillard <d@drobilla.net> | 2014-11-17 06:43:53 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-11-17 06:43:53 +0000 |
commit | 48e05557b8afac26bcdd0416ef0ab9a18037e529 (patch) | |
tree | c4430f6317092b41a8381ed15502f4dde8e86f29 /src/instance.c | |
parent | ee04d3ddaf6ad278000cad7acd413f76b6bfc535 (diff) | |
download | lilv-48e05557b8afac26bcdd0416ef0ab9a18037e529.tar.gz lilv-48e05557b8afac26bcdd0416ef0ab9a18037e529.tar.bz2 lilv-48e05557b8afac26bcdd0416ef0ab9a18037e529.zip |
Fix a few minor/unlikely memory errors.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5484 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/instance.c')
-rw-r--r-- | src/instance.c | 2 |
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; } |