Fix input autodetect notices sometimes not appearing (#16077)
This commit is contained in:
parent
a3e9525988
commit
e428541f9a
|
@ -612,7 +612,7 @@ bool input_autoconfigure_connect(
|
|||
|
||||
/* Configure handle */
|
||||
if (!(autoconfig_handle = (autoconfig_handle_t*)
|
||||
malloc(sizeof(autoconfig_handle_t))))
|
||||
calloc(1, sizeof(autoconfig_handle_t))))
|
||||
goto error;
|
||||
|
||||
autoconfig_handle->port = port;
|
||||
|
|
Loading…
Reference in New Issue