    if (wolfSSH_CleanPath(ssh, dirName) < 0) {
        WFREE(dirName, ssh->ctx->heap, DYNTYPE_BUFFER);
        return WS_FATAL_ERROR;
    }
    if (wolfSSH_CleanPath(ssh, dirName) < 0) {
        WFREE(dirName, ssh->ctx->heap, DYNTYPE_BUFFER);
        return WS_FATAL_ERROR;
    }