Skip to content

Commit

Permalink
Fix input autodetect notices sometimes not appearing
Browse files Browse the repository at this point in the history
  • Loading branch information
warmenhoven committed Jan 5, 2024
1 parent 01edfbf commit 693e647
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 693e647

Please sign in to comment.