From 4ddbcf346d1185bacbe63dba6e9317424b5206b9 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Thu, 23 Dec 2021 14:47:13 +0900 Subject: Imported Upstream version 0.7.19 --- ext/repo_appdata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/repo_appdata.c') diff --git a/ext/repo_appdata.c b/ext/repo_appdata.c index b798af4..390b286 100644 --- a/ext/repo_appdata.c +++ b/ext/repo_appdata.c @@ -183,7 +183,7 @@ indent(struct parsedata *pd, int il) if (xmlp->lcontent + il + 1 > xmlp->acontent) { xmlp->acontent = xmlp->lcontent + il + 256; - xmlp->content = realloc(xmlp->content, xmlp->acontent); + xmlp->content = solv_realloc(xmlp->content, xmlp->acontent); } memmove(xmlp->content + l + il, xmlp->content + l, xmlp->lcontent - l + 1); for (i = 0; i < il; i++) -- cgit v1.2.3