Be consistent with memory treatment for plural option setters
commitc1a5b11f1151040e3341d9222cc246c3aa140182
authorDan McGee <dan@archlinux.org>
Tue, 7 Jun 2011 16:33:29 +0000 (7 11:33 -0500)
committerDan McGee <dan@archlinux.org>
Tue, 7 Jun 2011 16:33:29 +0000 (7 11:33 -0500)
tree9eb96d35355fc59f7d47e05598c365d60fd1382e
parent991b3ff7e63314ea14a40bb437e49ec8553abff2
Be consistent with memory treatment for plural option setters

In all cases we should duplicate the passed-in list so the caller is
free to do with it as it pleases.

Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/handle.c