aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2018-07-21 23:38:25 +0200
committerPřemysl Janouch <p@janouch.name>2018-07-21 23:38:25 +0200
commit73bf4b861a6378080e9fc86e9e03f5ca068bddbd (patch)
treebd411ca10741ef46d0e1a292fdfd72cfef732b87
parente0a77dacf7b49e0d2a00dcc042fb42c4da4f6be3 (diff)
downloadpdf-simple-sign-73bf4b861a6378080e9fc86e9e03f5ca068bddbd.tar.gz
pdf-simple-sign-73bf4b861a6378080e9fc86e9e03f5ca068bddbd.tar.xz
pdf-simple-sign-73bf4b861a6378080e9fc86e9e03f5ca068bddbd.zip
Fix double fclose()
-rw-r--r--pdf-simple-sign.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/pdf-simple-sign.cpp b/pdf-simple-sign.cpp
index fc45239..36afcf4 100644
--- a/pdf-simple-sign.cpp
+++ b/pdf-simple-sign.cpp
@@ -967,7 +967,6 @@ int main(int argc, char* argv[]) {
(void) unlink(output_path);
die(3, "%s: %s", output_path, strerror(errno));
}
- fclose(fp);
} else {
die(3, "%s: %s", output_path, strerror(errno));
}