Skip to content

Commit

Permalink
Merge branch 'hambingen-main'
Browse files Browse the repository at this point in the history
  • Loading branch information
natoscott committed Sep 15, 2024
2 parents ee35f9e + c4595ff commit 9164f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libpcp/src/auxserver.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ __pmServerAddInterface(const char *address)
char *intf;

/* one (of possibly several) IP addresses for client requests */
intflist = (char **)realloc(intflist, nintf * sizeof(char *));
intflist = (char **)realloc(intflist, size);
if (intflist == NULL)
pmNoMem("AddInterface: cannot grow interface list", size, PM_FATAL_ERR);
if ((intf = strdup(address)) == NULL)
Expand Down

0 comments on commit 9164f58

Please sign in to comment.