summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/instance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/instance.c b/src/instance.c
index b72f65f..d7d1932 100644
--- a/src/instance.c
+++ b/src/instance.c
@@ -62,7 +62,7 @@ open_wrapper(SuilHost* host,
LV2_Feature*** features,
unsigned n_features)
{
- if (!strcmp(container_type_uri, ui_type_uri)) {
+ if (!container_type_uri || !strcmp(container_type_uri, ui_type_uri)) {
return NULL;
}