diff options
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 f2126f25ac..1f9f75a4fa 100644 --- a/source3/printing/print_svid.c +++ b/source3/printing/print_svid.c @@ -68,7 +68,7 @@ static void populate_printers(void) /* add it to the cache */ if ((ptmp = malloc(sizeof (*ptmp))) != NULL) { - memset(ptmp, '\0', sizeof (*ptmp)); + ZERO_STRUCTP(ptmp); ptmp->name = strdup(name); ptmp->next = printers; printers = ptmp; |