diff options
Diffstat (limited to 'source3/printing/load.c')
-rw-r--r-- | source3/printing/load.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/load.c b/source3/printing/load.c index c4fc3377c3..ae76229d77 100644 --- a/source3/printing/load.c +++ b/source3/printing/load.c @@ -48,7 +48,7 @@ static void add_auto_printers(void) printers = lp_servicenumber(PRINTERS_NAME); if (printers < 0) { - free(str); + SAFE_FREE(str); return; } @@ -60,7 +60,7 @@ static void add_auto_printers(void) } } - free(str); + SAFE_FREE(str); } /*************************************************************************** |