Skip to content

Commit

Permalink
Fix SFTP build with WOLFSSH_FATFS
Browse files Browse the repository at this point in the history
  • Loading branch information
lealem47 committed Dec 13, 2024
1 parent b86dc9a commit fd45a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wolfsftp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit fd45a86

Please sign in to comment.