summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-03-23 16:58:53 -0500
committerDan McGee <dan@archlinux.org>2008-03-23 16:58:53 -0500
commit5f1ccdbc27e3b4b92f9b65379db17a4d6523975d (patch)
tree7cacf15fdd0bd20eccebf4787ede5e9a24f9b10b /src
parentd1ea16dfd0d497aff72d7a315890971e7f070786 (diff)
parent1086950c82ab649ffc36a00cd8d343da376252fe (diff)
Merge branch 'maint'
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);
}