diff options
author | David Robillard <d@drobilla.net> | 2014-04-27 00:31:48 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-04-27 00:31:48 +0000 |
commit | 2eb44a56f6e966243dcce8a232e4b46f82911cd3 (patch) | |
tree | 679f0fa211b71b3238b8f2d37812f4685f604e99 /src/instance.c | |
parent | dec365731d81c65e605843a4cd5d4c6ac2bf2923 (diff) | |
download | suil-2eb44a56f6e966243dcce8a232e4b46f82911cd3.tar.gz suil-2eb44a56f6e966243dcce8a232e4b46f82911cd3.tar.bz2 suil-2eb44a56f6e966243dcce8a232e4b46f82911cd3.zip |
Tolerate passing NULL container type to open_wrapper.
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5376 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 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; } |