Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pacman/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/util.c b/src/pacman/util.c
index 2623dbdb..ed7669a3 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -388,7 +388,7 @@ alpm_list_t *strsplit(const char *str, const char splitchar)
if(dup == NULL) {
return(NULL);
}
- list = alpm_list_add(list, strdup(prev));
+ list = alpm_list_add(list, dup);
return(list);
}