Skip to content

Commit

Permalink
emalloc -> safe_emalloc
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilia Alshanetsky committed May 13, 2003
1 parent fe47a38 commit 56ba9b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/network.c
Expand Up @@ -203,7 +203,7 @@ static int php_network_getaddresses(const char *host, struct sockaddr ***sal, ch
;
}

*sal = emalloc((n + 1) * sizeof(*sal));
*sal = safe_emalloc((n + 1), sizeof(*sal), 0);
sai = res;
sap = *sal;
do {
Expand Down

0 comments on commit 56ba9b4

Please sign in to comment.