diff options
author | David Robillard <d@drobilla.net> | 2013-12-19 17:50:01 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-12-19 17:50:01 +0000 |
commit | 05576eb9976357bc3870095c0d7e284c655ddb52 (patch) | |
tree | e096a9c604deb205f82d613e6065ee2d52ca6436 /src/node.c | |
parent | 9a6e476aa52737c328139396098a074804fc6781 (diff) | |
download | lilv-05576eb9976357bc3870095c0d7e284c655ddb52.tar.gz lilv-05576eb9976357bc3870095c0d7e284c655ddb52.tar.bz2 lilv-05576eb9976357bc3870095c0d7e284c655ddb52.zip |
Add support for running plugins from Python by Kaspar Emanuel (fix #939 and #940).
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5189 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/node.c')
-rw-r--r-- | src/node.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -85,6 +85,11 @@ lilv_node_new(LilvWorld* world, LilvNodeType type, const char* str) break; } + if (!val->node) { + free(val); + return NULL; + } + return val; } |