diff --git a/mbfido/tosspkt.c b/mbfido/tosspkt.c index 4070fc73..2cbc1c0a 100644 --- a/mbfido/tosspkt.c +++ b/mbfido/tosspkt.c @@ -287,6 +287,7 @@ int TossPkt(char *fn) (rc == 3)?"packet is not for us": (rc == 4)?"bad password": "bad packet"); + fclose(pkt); return(rc); }