mirror of
https://github.com/moparisthebest/pacman
synced 2025-01-10 21:38:19 -05:00
01c8f39ab8
Remove the need for an unconditional string duplication by using pointer arithmetic instead, and strndup() instead of an unspecified-length strdup(). This should reduce memory churn a fair amount as this is called pretty frequently during database loads. Signed-off-by: Dan McGee <dan@archlinux.org> |
||
---|---|---|
.. | ||
libalpm |