Skip to content
Commit e90ce2fc authored by Xin Long's avatar Xin Long Committed by David S. Miller
Browse files

dccp: fix a memleak for dccp_feat_init err process



In dccp_feat_init, when ccid_get_builtin_ccids failsto alloc
memory for rx.val, it should free tx.val before returning an
error.

Signed-off-by: default avatarXin Long <lucien.xin@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b7953d3c
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