summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/rpmvercmp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/rpmvercmp.c b/lib/libalpm/rpmvercmp.c
index bbabc2b4..151dd40b 100644
--- a/lib/libalpm/rpmvercmp.c
+++ b/lib/libalpm/rpmvercmp.c
@@ -40,6 +40,8 @@ int rpmvercmp(const char *a, const char *b)
return(0);
}
+ /* ORE
+ * the memory allocated here is never freed... */
str1 = strdup(a);
str2 = strdup(b);