1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-21 15:45:02 +00:00

Fix malloc types.

MFC after:	1 week
This commit is contained in:
Andrey V. Elsukov 2011-03-31 15:11:12 +00:00
parent 3d10d64fd3
commit 5600c92750
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=220204

View File

@ -807,7 +807,7 @@ ip_dummynet_compat(struct sockopt *sopt)
if (error)
break;
error = dn_compat_del(v);
free(v, M_DUMMYNET);
free(v, M_TEMP);
break;
case IP_DUMMYNET_CONFIGURE:
@ -816,7 +816,7 @@ ip_dummynet_compat(struct sockopt *sopt)
if (error)
break;
error = dn_compat_configure(v);
free(v, M_DUMMYNET);
free(v, M_TEMP);
break;
case IP_DUMMYNET_GET: {