git.samba.org
/
metze
/
old
/
v3-2-winbind-ndr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Get medieval on our ass about malloc.... :-). Take control of all our allocation
[metze/old/v3-2-winbind-ndr.git]
/
source
/
printing
/
print_cups.c
diff --git
a/source/printing/print_cups.c
b/source/printing/print_cups.c
index 2a59e2c5d30cb1fbc6152273604bb9d0dc0250d6..5cc36d6e170284a575efc1a2de9637dfae28edca 100644
(file)
--- a/
source/printing/print_cups.c
+++ b/
source/printing/print_cups.c
@@
-909,7
+909,7
@@
cups_queue_get(const char *printer_name,
{
qalloc += 16;
- temp =
Realloc(queue, sizeof(print_queue_struct) *
qalloc);
+ temp =
SMB_REALLOC_ARRAY(queue, print_queue_struct,
qalloc);
if (temp == NULL)
{