diff options
Diffstat (limited to 'net/x25/af_x25.c')
-rw-r--r-- | net/x25/af_x25.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/x25/af_x25.c b/net/x25/af_x25.c index c7cb33613..a77380648 100644 --- a/net/x25/af_x25.c +++ b/net/x25/af_x25.c @@ -341,7 +341,6 @@ void x25_destroy_socket(struct sock *sk) /* Not static as it's used by the timer sk->timer.data = (unsigned long)sk; add_timer(&sk->timer); } else { - kfree(sk->protinfo.x25); sk_free(sk); MOD_DEC_USE_COUNT; } |