summaryrefslogtreecommitdiff
path: root/source4/lib/wins_srv.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/wins_srv.c')
-rw-r--r--source4/lib/wins_srv.c2
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++;