summaryrefslogtreecommitdiffstats
path: root/src/instance.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/instance.c')
-rw-r--r--src/instance.c5
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;
}