fix early return

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2023-05-16 18:38:06 +08:00
parent 029c90897b
commit 3f8c9a9799

View File

@ -318,6 +318,7 @@ fn request_plugin_sign(id: String, msg_to_rustdesk: MsgToRustDesk) -> PluginRetu
id, id,
ret.code, ret.code,
); );
return;
} }
let msg = cstr_to_string(ret.msg).unwrap_or_default(); let msg = cstr_to_string(ret.msg).unwrap_or_default();
free_c_ptr(ret.msg as _); free_c_ptr(ret.msg as _);