Fix SFTP build with WOLFSSH_FATFS

pull/756/head
Lealem Amedie 2024-12-13 15:08:40 -07:00
parent b86dc9ae66
commit fd45a864fb
1 changed files with 1 additions and 1 deletions

View File

@ -3035,7 +3035,7 @@ static int wolfSSH_SFTPNAME_readdir(WOLFSSH* ssh, WDIR* dir, WS_SFTPNAME* out,
!= WS_SUCCESS) {
WLOG(WS_LOG_SFTP, "Unable to get attribute values for %s",
out->fName);
WFREE(buf, out->heap, DYNTYPE_SFTP);
WFREE(out->fName, out->heap, DYNTYPE_SFTP);
return WS_FATAL_ERROR;
}
}