-
Khaled ROMDHANI authored
The -EIO error return path is leaking memory allocated to page. Fix this by moving the allocation block after the check of cifs_forced_shutdown. Addresses-Coverity: ("Resource leak") Fixes: 087f757b ("cifs: add shutdown support") Signed-off-by:
Khaled ROMDHANI <khaledromdhani216@gmail.com> Reviewed-by:
Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by:
Steve French <stfrench@microsoft.com>
bae4c0c1Khaled ROMDHANI authoredThe -EIO error return path is leaking memory allocated to page. Fix this by moving the allocation block after the check of cifs_forced_shutdown. Addresses-Coverity: ("Resource leak") Fixes: 087f757b ("cifs: add shutdown support") Signed-off-by:
Khaled ROMDHANI <khaledromdhani216@gmail.com> Reviewed-by:
Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by:
Steve French <stfrench@microsoft.com>
Loading