Skip to content

Commit f9ac4f5

Browse files
NickeZrustyrussell
authored andcommitted
configurator: always true branch
1 parent c16c021 commit f9ac4f5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tools/configurator/configurator.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -765,9 +765,7 @@ static bool run_test(const char *cmd, const char *wrapper, struct test *test)
765765
strcpy(cmd, wrapper);
766766
strcat(cmd, " ." DIR_SEP OUTPUT_FILE);
767767
output = run(cmd, &status);
768-
if (wrapper) {
769-
free(cmd);
770-
}
768+
free(cmd);
771769
if (!strstr(test->style, "EXECUTE") && status != 0)
772770
c12r_errx(EXIT_BAD_TEST,
773771
"Test for %s failed with %i:\n%s",

0 commit comments

Comments
 (0)