From 506136f9c638360a37f06db942637533bec3dd9f Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Mon, 6 Oct 2003 01:04:49 +0000 Subject: [PATCH] Forgot about this one --- ext/simplexml/simplexml.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index 8b3980f596..7316ad9ebc 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -585,6 +585,7 @@ simplexml_ce_schema_validate(INTERNAL_FUNCTION_PARAMETERS, int type) if (vptr == NULL) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to create XML Schema validation context"); + xmlSchemaFree(sptr); xmlSchemaFreeParserCtxt(parser); RETURN_FALSE; } -- 2.50.1