Coverity CID 2057: Don't forget to free tcpopts when you are done.
This commit is contained in:
parent
eca1f0e01b
commit
1a21d9be9f
4
dist/pf/sbin/pfctl/pfctl_osfp.c
vendored
4
dist/pf/sbin/pfctl/pfctl_osfp.c
vendored
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pfctl_osfp.c,v 1.5 2005/07/01 12:43:50 peter Exp $ */
|
||||
/* $NetBSD: pfctl_osfp.c,v 1.6 2006/03/21 20:31:56 christos Exp $ */
|
||||
/* $OpenBSD: pfctl_osfp.c,v 1.12 2005/02/17 13:18:00 aaron Exp $ */
|
||||
|
||||
/*
|
||||
@ -255,6 +255,8 @@ pfctl_file_fingerprints(int dev, int opts, const char *fp_filename)
|
||||
free(subtype);
|
||||
if (desc)
|
||||
free(desc);
|
||||
if (tcpopts)
|
||||
free(tcpopts);
|
||||
|
||||
fclose(in);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user