Dan Carpenter b535917c51 staging: rtl8192e: Fix use after free in _rtl92e_pci_disconnect()
The free_rtllib() function frees the "dev" pointer so there is use
after free on the next line.  Re-arrange things to avoid that.

Fixes: 66898177e7e5 ("staging: rtl8192e: Fix unload/reload problem")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20211117072016.GA5237@kili
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-11-17 14:08:57 +01:00
..
2021-11-15 10:21:48 +01:00
2021-07-27 12:17:21 +02:00
2021-11-04 07:56:22 -07:00
2021-11-04 07:56:22 -07:00
2021-11-05 08:42:02 -07:00
2021-11-05 08:42:02 -07:00