summaryrefslogtreecommitdiff
path: root/ext/repo_appdata.c
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-12-23 14:47:13 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-12-23 14:47:13 +0900
commit4ddbcf346d1185bacbe63dba6e9317424b5206b9 (patch)
tree5a54d79ee9b9bb16c32abcd6188a6710a7dccdd0 /ext/repo_appdata.c
parent9c08bb3b899936e1eb9b6ab9d0cef17501ad6bab (diff)
downloadlibsolv-4ddbcf346d1185bacbe63dba6e9317424b5206b9.tar.gz
libsolv-4ddbcf346d1185bacbe63dba6e9317424b5206b9.tar.bz2
libsolv-4ddbcf346d1185bacbe63dba6e9317424b5206b9.zip
Imported Upstream version 0.7.19upstream/0.7.19
Diffstat (limited to 'ext/repo_appdata.c')
-rw-r--r--ext/repo_appdata.c2
1 files changed, 1 insertions, 1 deletions
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++)