fix crash I guess??
This commit is contained in:
parent
35602c1a05
commit
1c030cfa09
@ -271,7 +271,6 @@ show_config_port_dialog :: (parent_hwnd: HWND) -> bool {
|
||||
if ok {
|
||||
port = xx val;
|
||||
}
|
||||
free(port_str);
|
||||
}
|
||||
free(config_data);
|
||||
}
|
||||
|
||||
2
main.jai
2
main.jai
@ -369,7 +369,6 @@ show_context_menu :: (app: *App_State) {
|
||||
app.port = xx val;
|
||||
log_print("Port updated to %.\n", app.port);
|
||||
}
|
||||
free(port_str);
|
||||
}
|
||||
free(config_data);
|
||||
}
|
||||
@ -524,7 +523,6 @@ main :: () {
|
||||
app_state.port = xx val;
|
||||
log_print("Loaded port: %\n", app_state.port);
|
||||
}
|
||||
free(port_str);
|
||||
}
|
||||
|
||||
free(config_data);
|
||||
|
||||
@ -73,7 +73,6 @@ perform_update :: () -> changed: bool, success: bool, error_msg: string {
|
||||
if parse_ok {
|
||||
port = xx val;
|
||||
}
|
||||
free(port_str);
|
||||
}
|
||||
|
||||
downloaded, success, err_msg := download_url(url);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user