diff options
author | Jeremy Allison <jra@samba.org> | 2004-12-16 21:06:33 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:53:39 -0500 |
commit | 46f0e330f1e455e3338a7e7a3b7a287df752fe1a (patch) | |
tree | 93d59a549342510bf6e11cc1203b33286d3fe7f3 /source3/printing | |
parent | 9fd22239ed55d82261c30f788b1c8b3c09109b36 (diff) | |
download | samba-46f0e330f1e455e3338a7e7a3b7a287df752fe1a.tar.gz samba-46f0e330f1e455e3338a7e7a3b7a287df752fe1a.tar.bz2 samba-46f0e330f1e455e3338a7e7a3b7a287df752fe1a.zip |
r4234: More malloc fixes to use the macros.
Jeremy.
(This used to be commit 61479f56be60a3c2ae0f7b931335cb1da77540c2)
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/print_svid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/print_svid.c b/source3/printing/print_svid.c index 07b157bcd9..c7a8c9413d 100644 --- a/source3/printing/print_svid.c +++ b/source3/printing/print_svid.c @@ -90,7 +90,7 @@ static void populate_printers(void) /* add it to the cache */ if ((ptmp = malloc(sizeof (*ptmp))) != NULL) { ZERO_STRUCTP(ptmp); - if((ptmp->name = strdup(name)) == NULL) + if((ptmp->name = SMB_STRDUP(name)) == NULL) DEBUG(0,("populate_printers: malloc fail in strdup !\n")); ptmp->next = printers; printers = ptmp; |