commit | 295abb370b4a78d36d30a0e35655e2a85608ed3e | [log] [tgz] |
---|---|---|
author | Eric Paris <eparis@redhat.com> | Tue Feb 05 14:45:47 2013 -0500 |
committer | Eric Paris <eparis@redhat.com> | Tue Feb 05 20:19:05 2013 -0500 |
tree | 9025c86b39fd4e4c3214213b11368c288b401461 | |
parent | d1c606ba46f661b950d6a6b2b29dfc07a536fb0a [diff] |
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>