summaryrefslogtreecommitdiffstats
path: root/source/client
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-12-03 06:42:06 +0000
committerAndrew Tridgell <tridge@samba.org>2004-12-03 06:42:06 +0000
commitaca003f80e0bf63f88c633f35c29996425bd0c34 (patch)
tree5cd8c31887474523b6f8768e438b1a09131ef647 /source/client
parent508ffafca3c2b2ca889c4b25fdec09f7a8dc7196 (diff)
downloadsamba-aca003f80e0bf63f88c633f35c29996425bd0c34.tar.gz
samba-aca003f80e0bf63f88c633f35c29996425bd0c34.tar.xz
samba-aca003f80e0bf63f88c633f35c29996425bd0c34.zip
r4054: got rid of Realloc(), replacing it with the type safe macro realloc_p()
Diffstat (limited to 'source/client')
-rw-r--r--source/client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/client/client.c b/source/client/client.c
index 6af145c31e9..e4a7dc7cb5e 100644
--- a/source/client/client.c
+++ b/source/client/client.c
@@ -488,7 +488,7 @@ static void add_to_do_list_queue(const char* entry)
do_list_queue_size *= 2;
DEBUG(4,("enlarging do_list_queue to %d\n",
(int)do_list_queue_size));
- dlq = Realloc(do_list_queue, do_list_queue_size);
+ dlq = realloc_p(do_list_queue, char, do_list_queue_size);
if (! dlq) {
d_printf("failure enlarging do_list_queue to %d bytes\n",
(int)do_list_queue_size);