Commit 5e8b2478 authored by Philipp Schafft's avatar Philipp Schafft 🦁

Fix: Use correct malloc function

parent e870c213
......@@ -248,7 +248,7 @@ static xmlDocPtr custom_loader(const xmlChar *URI,
if (!admin_path) {
size_t len = strlen(config->adminroot_dir);
admin_path = xmlMemMalloc(len+2);
admin_path = xmlMalloc(len+2);
if (!admin_path)
return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment