activate: fix memory allocation for execv() parameters
authorLennart Poettering <lennart@poettering.net>
Sun, 31 Jan 2016 22:53:31 +0000 (23:53 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 1 Feb 2016 21:18:15 +0000 (22:18 +0100)
commitfa994f917d51997c6bc125161a473d1ed8d40229
tree9b14975d98ca447a9bd4abb4fd96ff601fbec85b
parentb72190e90f0846956e609075fb9113dba9bc8f0f
activate: fix memory allocation for execv() parameters

Make sure we construct the full environment block on the heap, so that we can clean things up properly if execv()
fails.
src/activate/activate.c