index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | src/pacman/util.c | 2 |
diff --git a/src/pacman/util.c b/src/pacman/util.c index aa08eb26..0facfdd1 100644 --- a/src/pacman/util.c +++ b/src/pacman/util.c @@ -384,7 +384,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); } |