diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-12-03 06:42:06 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:06:19 -0500 |
commit | e5ce904ddbd6175ba86ed827bf096b76b11b5511 (patch) | |
tree | 722b04d001e9b26bb47b2480fef13699a0366667 /source4/lib/wins_srv.c | |
parent | 7dcfd94f817d1c12a14704cbb96604dc3074aa2e (diff) | |
download | samba-e5ce904ddbd6175ba86ed827bf096b76b11b5511.tar.gz samba-e5ce904ddbd6175ba86ed827bf096b76b11b5511.tar.bz2 samba-e5ce904ddbd6175ba86ed827bf096b76b11b5511.zip |
r4054: got rid of Realloc(), replacing it with the type safe macro realloc_p()
(This used to be commit b0f6e21481745d1b2ced28d9ed6f09f6ffd99562)
Diffstat (limited to 'source4/lib/wins_srv.c')
-rw-r--r-- | source4/lib/wins_srv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/wins_srv.c b/source4/lib/wins_srv.c index c9a5549cdc..094de8d6b0 100644 --- a/source4/lib/wins_srv.c +++ b/source4/lib/wins_srv.c @@ -238,7 +238,7 @@ char **wins_srv_tags(void) } /* add it to the list */ - ret = (char **)Realloc(ret, (count+2) * sizeof(char *)); + ret = realloc_p(ret, char *, count+2); ret[count] = strdup(t_ip.tag); if (!ret[count]) break; count++; |