diff options
author | David Robillard <d@drobilla.net> | 2008-05-03 23:47:32 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-05-03 23:47:32 +0000 |
commit | 2534a5a90aa3f07af7762da946ca5567e295941a (patch) | |
tree | befabc581e52ba6f2a1af98d6261f2b3fbe441b3 /src/plugin.c | |
parent | 3f69656ed2a8dee9f5a67041daa8b27e2cd13895 (diff) | |
download | lilv-2534a5a90aa3f07af7762da946ca5567e295941a.tar.gz lilv-2534a5a90aa3f07af7762da946ca5567e295941a.tar.bz2 lilv-2534a5a90aa3f07af7762da946ca5567e295941a.zip |
Handle plugins with missing binaries more gracefully.
git-svn-id: http://svn.drobilla.net/lad/slv2@1197 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/plugin.c')
-rw-r--r-- | src/plugin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugin.c b/src/plugin.c index 1479bc6..ebd51b2 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -38,6 +38,8 @@ SLV2Plugin slv2_plugin_new(SLV2World world, SLV2Value uri, librdf_uri* bundle_uri, librdf_uri* binary_uri) { + assert(bundle_uri); + assert(binary_uri); struct _SLV2Plugin* plugin = malloc(sizeof(struct _SLV2Plugin)); plugin->world = world; plugin->plugin_uri = uri; |