mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-03 02:04:01 +00:00
Free strdup'ed values
This commit is contained in:
parent
047ffe9d30
commit
615fc0432f
@ -281,13 +281,16 @@ static char** waiting_argv;
|
||||
}
|
||||
else
|
||||
{
|
||||
ui_msg_window_state msg_window_state;
|
||||
const ui_msg_window_t *msg_window = ui_companion_driver_get_msg_window_ptr();
|
||||
if (msg_window)
|
||||
{
|
||||
msg_window_state.text = strdup("Cannot open multiple files");
|
||||
msg_window_state.text = strdup("RetroArch");
|
||||
ui_msg_window_state msg_window_state;
|
||||
msg_window_state.text = strdup("Cannot open multiple files");
|
||||
msg_window_state.title = strdup("RetroArch");
|
||||
msg_window->information(&msg_window_state);
|
||||
|
||||
free(msg_window_state.text);
|
||||
free(msg_window_state.title);
|
||||
}
|
||||
[sender replyToOpenOrPrint:NSApplicationDelegateReplyFailure];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user