diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-11-09 14:49:36 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-15 10:23:33 +0100 |
commit | be4ea8f383551b9dae11b8dfff1f38b3b5436e9a (patch) | |
tree | 797f5ad5375fc3fc7863fb378203a755940a2c7c /net/unix/af_unix.c | |
parent | 4a293eaf92a510ff688dc7b3f0815221f99c9d1b (diff) |
staging: r8188eu: fix a memory leak in rtw_wx_read32()
Free "ptmp" before returning -EINVAL.
Fixes: 2b42bd58b321 ("staging: r8188eu: introduce new os_dep dir for RTL8188eu driver")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20211109114935.GC16587@kili
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions