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 | 61479f56be60a3c2ae0f7b931335cb1da77540c2 (patch) | |
tree | 184e8e411e3ffb8a2ca3a1076fe4eac3d66b8c31 /source/printing | |
parent | d25f303f317ef6ec96799d396ca65ac500cae0ae (diff) | |
download | samba-61479f56be60a3c2ae0f7b931335cb1da77540c2.tar.gz samba-61479f56be60a3c2ae0f7b931335cb1da77540c2.tar.xz samba-61479f56be60a3c2ae0f7b931335cb1da77540c2.zip |
r4234: More malloc fixes to use the macros.
Jeremy.
Diffstat (limited to 'source/printing')
-rw-r--r-- | source/printing/print_svid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/printing/print_svid.c b/source/printing/print_svid.c index 07b157bcd95..c7a8c9413d5 100644 --- a/source/printing/print_svid.c +++ b/source/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; |