lib/util/run_cmd: use a cleanup function instead of a destructor
commit6a678665aec5ec026edb49841f037703ea2fd5a7
authorRalph Boehme <slow@samba.org>
Fri, 29 Sep 2017 11:07:53 +0000 (29 13:07 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 2 Oct 2017 11:17:15 +0000 (2 13:17 +0200)
tree31b47336185e994b65c993d2b07de242f59c7ee8
parent31eefb6c98418cdde9dcee383262a298ae956ac4
lib/util/run_cmd: use a cleanup function instead of a destructor

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13062

Pair-programmed-with: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Sat Sep 30 12:14:57 CEST 2017 on sn-devel-144

(cherry picked from commit 6539cc8a24204697b20506896c401e7b40eee928)

Autobuild-User(v4-7-test): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(v4-7-test): Mon Oct  2 13:17:15 CEST 2017 on sn-devel-144
lib/util/util_runcmd.c