blob: 0587c3b3b6b9482d260ddc44f253df45bdd02bce (
plain) (
tree)
|
|
/* See LICENSE file for copyright and license details. */
#include "common.h"
#ifndef TEST
void
libexec_destroy_result(struct libexec_result *result)
{
if (!result)
return;
free(result->exit_statuses);
result->exit_statuses = NULL;
result->proc_count = 0;
}
#else
LIBEXEC_CONST__ int main(void) {return 0;} /* TODO test */
#endif
|