diff options
author | Chen Aotian <chenaotian2@163.com> | 2023-04-09 10:20:48 +0800 |
---|---|---|
committer | Stefan Schmidt <stefan@datenfreihafen.org> | 2023-04-12 21:31:32 +0200 |
commit | a61675294735570daca3779bd1dbb3715f7232bd (patch) | |
tree | 0035a582597800801ab467cedfa45cddb98012d2 /arch | |
parent | 209373537648d815a104c3af787663d7db06bd5d (diff) |
ieee802154: hwsim: Fix possible memory leaks
After replacing e->info, it is necessary to free the old einfo.
Fixes: f25da51fdc38 ("ieee802154: hwsim: add replacement for fakelb")
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: Chen Aotian <chenaotian2@163.com>
Link: https://lore.kernel.org/r/20230409022048.61223-1-chenaotian2@163.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions