basic/env-uil: fix assertion failure in strv_env_replace (#4688)
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 17 Nov 2016 21:25:01 +0000 (16:25 -0500)
committerMartin Pitt <martin.pitt@ubuntu.com>
Thu, 17 Nov 2016 21:25:01 +0000 (22:25 +0100)
commita1e45b8ba3b8695d02cc12b42c46af6066f59766
treeb5f2dec39e98f5e23cf4493426a57e34656cfc6c
parent375fd1559b8fd3ece42716af3b8d25bc46fbd6fa
basic/env-uil: fix assertion failure in strv_env_replace (#4688)

free_and_replace sets the setcond argument to NULL (it's designed
to be used with _clenaup_ macros), and we don't want that here.

Fixes #4684.
src/basic/env-util.c