summaryrefslogtreecommitdiffstats
path: root/src/instance.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/instance.c')
-rw-r--r--src/instance.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/instance.c b/src/instance.c
index 5092dcd..ff7b61f 100644
--- a/src/instance.c
+++ b/src/instance.c
@@ -26,6 +26,9 @@ lilv_plugin_instantiate(const LilvPlugin* plugin,
const LV2_Feature*const* features)
{
lilv_plugin_load_if_necessary(plugin);
+ if (plugin->parse_errors) {
+ return NULL;
+ }
LilvInstance* result = NULL;