summaryrefslogtreecommitdiff
path: root/ext/repo_repomdxml.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/repo_repomdxml.c')
-rw-r--r--ext/repo_repomdxml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/repo_repomdxml.c b/ext/repo_repomdxml.c
index e856beb..87510dd 100644
--- a/ext/repo_repomdxml.c
+++ b/ext/repo_repomdxml.c
@@ -242,7 +242,7 @@ startElement(void *userData, const char *name, const char **atts)
updstr = find_attr("updates", atts);
if (updstr)
{
- char *value = strdup(updstr);
+ char *value = solv_strdup(updstr);
char *fvalue = value; /* save the first */
while (value)
{