summaryrefslogtreecommitdiffstats
path: root/sys/netipsec/xform_ah.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netipsec/xform_ah.c')
-rw-r--r--sys/netipsec/xform_ah.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netipsec/xform_ah.c b/sys/netipsec/xform_ah.c
index 76fecb1..c5b3697 100644
--- a/sys/netipsec/xform_ah.c
+++ b/sys/netipsec/xform_ah.c
@@ -485,7 +485,7 @@ ah_massage_headers(struct mbuf **m0, int proto, int skip, int alg, int out)
/* Free, if we allocated. */
if (alloc)
- FREE(ptr, M_XDATA);
+ free(ptr, M_XDATA);
return EINVAL;
}
@@ -505,7 +505,7 @@ ah_massage_headers(struct mbuf **m0, int proto, int skip, int alg, int out)
/* Free, if we allocated. */
if (alloc)
- FREE(ptr, M_XDATA);
+ free(ptr, M_XDATA);
return EINVAL;
}
}
@@ -529,7 +529,7 @@ ah_massage_headers(struct mbuf **m0, int proto, int skip, int alg, int out)
DPRINTF(("%s: unexpected IPv6 header type %d",
__func__, off));
if (alloc)
- FREE(ptr, M_XDATA);
+ free(ptr, M_XDATA);
m_freem(m);
return EINVAL;
}
OpenPOWER on IntegriCloud