summaryrefslogtreecommitdiff
path: root/xmlschemas.c
diff options
context:
space:
mode:
Diffstat (limited to 'xmlschemas.c')
-rw-r--r--xmlschemas.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmlschemas.c b/xmlschemas.c
index f3d2664b..457f7d4a 100644
--- a/xmlschemas.c
+++ b/xmlschemas.c
@@ -23366,6 +23366,8 @@ xmlSchemaIDCFillNodeTables(xmlSchemaValidCtxtPtr vctxt,
* Get/create the IDC binding on this element for the IDC definition.
*/
bind = xmlSchemaIDCAcquireBinding(vctxt, matcher);
+ if (bind == NULL)
+ goto internal_error;
if (! WXS_ILIST_IS_EMPTY(bind->dupls)) {
dupls = (xmlSchemaPSVIIDCNodePtr *) bind->dupls->items;