diff options
Diffstat (limited to 'src/instance.c')
-rw-r--r-- | src/instance.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/instance.c b/src/instance.c index b45d7bf..7f651d9 100644 --- a/src/instance.c +++ b/src/instance.c @@ -324,5 +324,8 @@ const void* suil_instance_extension_data(SuilInstance* instance, const char* uri) { - return instance->descriptor->extension_data(uri); + if (instance->descriptor->extension_data) { + return instance->descriptor->extension_data(uri); + } + return NULL; } |