Skip to content

Commit

Permalink
Fix input autodetect notices sometimes not appearing (#16077)
Browse files Browse the repository at this point in the history
  • Loading branch information
warmenhoven authored Jan 5, 2024
1 parent a3e9525 commit e428541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/task_autodetect.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e428541

Please sign in to comment.