Skip to content

Commit

Permalink
Merge branch 'freebsd/10-stable/master' into hardened/10-stable/master
Browse files Browse the repository at this point in the history
  • Loading branch information
opntr-auto committed Mar 11, 2016
2 parents be1ecf4 + e8f3671 commit 99f20d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/netpfil/ipfw/ip_fw_dynamic.c
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ resize_dynamic_table(struct ip_fw_chain *chain, int nbuckets)
V_curr_dyn_buckets, nbuckets);

/* Allocate and initialize new hash */
dyn_v = malloc(nbuckets * sizeof(ipfw_dyn_rule), M_IPFW,
dyn_v = malloc(nbuckets * sizeof(*dyn_v), M_IPFW,
M_WAITOK | M_ZERO);

for (i = 0 ; i < nbuckets; i++)
Expand Down

0 comments on commit 99f20d9

Please sign in to comment.