Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bradh352 committed May 19, 2024
1 parent 6919262 commit 68878ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/ares_event_configchg.c
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,8 @@ ares_status_t ares_event_configchg_init(ares_event_configchg_t **configchg,
ares_status_t status = ARES_SUCCESS;
ares_event_configchg_t *c = NULL;

*configchg = NULL;

c = ares_malloc_zero(sizeof(*c));
if (c == NULL) {
status = ARES_ENOMEM;
Expand Down

0 comments on commit 68878ed

Please sign in to comment.