Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit a6167529 authored by Chen Aotian's avatar Chen Aotian Committed by Stefan Schmidt
Browse files

ieee802154: hwsim: Fix possible memory leaks

After replacing e->info, it is necessary to free the old einfo.

Fixes: f25da51f

 ("ieee802154: hwsim: add replacement for fakelb")
Reviewed-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: default avatarAlexander Aring <aahringo@redhat.com>
Signed-off-by: default avatarChen Aotian <chenaotian2@163.com>
Link: https://lore.kernel.org/r/20230409022048.61223-1-chenaotian2@163.com


Signed-off-by: default avatarStefan Schmidt <stefan@datenfreihafen.org>
parent 20937353
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