diff --git a/src/pacman/util.c b/src/pacman/util.c index 5d42a6e9..ffdb38e8 100644 --- a/src/pacman/util.c +++ b/src/pacman/util.c @@ -1262,6 +1262,7 @@ void print_packages(const alpm_list_t *packages) string = strreplace(temp, "%s", size); free(size); free(temp); + temp = string; } /* %u : url */ PRINT_FORMAT_STRING(temp, "%u", alpm_pkg_get_url)