aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/tinycap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/tinycap.c b/utils/tinycap.c
index 39c6f57..9f8dacd 100644
--- a/utils/tinycap.c
+++ b/utils/tinycap.c
@@ -168,6 +168,7 @@ int main(int argc, char **argv)
break;
default:
fprintf(stderr, "%u bits is not supported.\n", bits);
+ fclose(file);
return 1;
}