ctdb-common: Fix memory leak in run_proc