summaryrefslogtreecommitdiff
path: root/src/inp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/inp.c')
-rw-r--r--src/inp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/inp.c b/src/inp.c
index 28c548d..af5bfd0 100644
--- a/src/inp.c
+++ b/src/inp.c
@@ -186,8 +186,7 @@ get_input_file (char const *filename, char const *outname, mode_t mode)
inerrno = 0;
free (getbuf);
- if (diffbuf)
- free (diffbuf);
+ free (diffbuf);
}
if (inerrno)