systemctl: allocate arg_wall only on the heap
authorLennart Poettering <lennart@poettering.net>
Thu, 24 Sep 2015 10:30:05 +0000 (12:30 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 29 Sep 2015 19:55:52 +0000 (21:55 +0200)
commit172d7abfea003d84d0e697a510a222f32b40f4c0
tree6dbc20b80d7656618e4aeffb9860f91b7adf8b01
parentfc2ffaf17d69fbe58183b2bdd61a655d575d8b0f
systemctl: allocate arg_wall only on the heap

Previously, we'd allocate it sometimes from the heap, but otherwise let
it point directly int argv[]. Let's clean this up, so that we know
exactly how to release its resources, and do so at the end.
src/systemctl/systemctl.c