Commit e4454257 authored by Jon Grimm's avatar Jon Grimm Committed by Jon Grimm

[SCTP] Fix double free of chunk along unexepected INIT path.

parent 79006ca5
...@@ -1237,7 +1237,6 @@ static sctp_disposition_t sctp_sf_do_unexpected_init( ...@@ -1237,7 +1237,6 @@ static sctp_disposition_t sctp_sf_do_unexpected_init(
* parameter type. * parameter type.
*/ */
sctp_addto_chunk(repl, len, unk_param); sctp_addto_chunk(repl, len, unk_param);
sctp_chunk_free(err_chunk);
} }
sctp_add_cmd_sf(commands, SCTP_CMD_NEW_ASOC, SCTP_ASOC(new_asoc)); sctp_add_cmd_sf(commands, SCTP_CMD_NEW_ASOC, SCTP_ASOC(new_asoc));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment