summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-05-03 17:42:54 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-05-03 17:42:54 +0000
commit00b97ee35f0bff40646da6766002eb0c200d96c1 (patch)
tree148a628b77329a4331a05d3ebbba4eb2b050772a /lib
parent80a5ffa8d82933c0436c714b512ad6385b692465 (diff)
found a possible MLK: to be fixed
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);