summaryrefslogtreecommitdiff
path: root/job.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2014-04-25 17:38:08 -0400
committerPaul Smith <psmith@gnu.org>2014-07-07 01:59:03 -0400
commit423c3955d97dc84986be08ed0074d8eb58c624ef (patch)
tree1a8e0f15f0dc8d22ed7c2472c87fc71ea1434e0c /job.c
parentac67346d0fb5e5ea359d34c2c9215bd1892455f3 (diff)
downloadgunmake-423c3955d97dc84986be08ed0074d8eb58c624ef.tar.gz
* various: Assume ISO C89-compliant free() implementation.
Diffstat (limited to 'job.c')
-rw-r--r--job.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/job.c b/job.c
index 1850fe1..f75c7f2 100644
--- a/job.c
+++ b/job.c
@@ -2715,10 +2715,8 @@ construct_command_argv_internal (char *line, char **restp, const char *shell,
slow_flag = strcmp ((s1 ? s1 : ""), (s2 ? s2 : ""));
- if (s1)
- free (s1);
- if (s2)
- free (s2);
+ free (s1);
+ free (s2);
}
if (slow_flag)
goto slow;