diff options
-rw-r--r-- | net/sctp/associola.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sctp/associola.c b/net/sctp/associola.c index 26d06dbcc1c8..197c3f59ecbf 100644 --- a/net/sctp/associola.c +++ b/net/sctp/associola.c | |||
@@ -391,8 +391,7 @@ void sctp_association_free(struct sctp_association *asoc) | |||
391 | sctp_asconf_queue_teardown(asoc); | 391 | sctp_asconf_queue_teardown(asoc); |
392 | 392 | ||
393 | /* Free pending address space being deleted */ | 393 | /* Free pending address space being deleted */ |
394 | if (asoc->asconf_addr_del_pending != NULL) | 394 | kfree(asoc->asconf_addr_del_pending); |
395 | kfree(asoc->asconf_addr_del_pending); | ||
396 | 395 | ||
397 | /* AUTH - Free the endpoint shared keys */ | 396 | /* AUTH - Free the endpoint shared keys */ |
398 | sctp_auth_destroy_keys(&asoc->endpoint_shared_keys); | 397 | sctp_auth_destroy_keys(&asoc->endpoint_shared_keys); |