diff --git a/lib/common/xml.c b/lib/common/xml.c index 51d6ada845..58d0a00007 100644 --- a/lib/common/xml.c +++ b/lib/common/xml.c @@ -386,6 +386,7 @@ static int __xml_build_schema_list(void) xslt = get_schema_path(NULL, transform); if(stat(xslt, &s) != 0) { crm_err("Transform %s not found", xslt); + free(xslt); __xml_schema_add(2, version, NULL, NULL, NULL, -1); break; } else {