summaryrefslogtreecommitdiffstats
path: root/net/802/psnap.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/802/psnap.c')
-rw-r--r--net/802/psnap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/802/psnap.c b/net/802/psnap.c
index 7d8b12047..3c493d7d9 100644
--- a/net/802/psnap.c
+++ b/net/802/psnap.c
@@ -141,7 +141,7 @@ void unregister_snap_client(unsigned char *desc)
if (memcmp(tmp->type,desc,5) == 0)
{
*clients = tmp->next;
- kfree_s(tmp, sizeof(struct datalink_proto));
+ kfree(tmp);
break;
}
else