Merge pull request #756 from lealem47/fatfs_build

Fix SFTP build with WOLFSSH_FATFS
pull/758/head
Sean Parkinson 2024-12-16 09:12:59 +10:00 committed by GitHub
commit a2ed75ed73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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;
}
}