[PATCH 6.12 111/143] smb: client: fix memory leak during error handling for POSIX mkdir