libsemanage: semanage_store: do not leak memory in semanage_exec_prog

If vork() failed we would leak the arguments created in split_args().
Reorder the function so it will hopefully be easy to read and will not
leak memory.

Signed-off-by: Eric Paris <eparis@redhat.com>
1 file changed