diff options
author | Simo Sorce <idra@samba.org> | 2001-09-17 09:25:57 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2001-09-17 09:25:57 +0000 |
commit | 09bf4425492fd96672ddd7a31d88854adcf7f0fe (patch) | |
tree | 978c0e50c709b0323f67b551314bd2431cb45335 /source/printing/load.c | |
parent | 64d35e94fe6f7e56353b286162f670c8595a90e6 (diff) | |
download | samba-09bf4425492fd96672ddd7a31d88854adcf7f0fe.tar.gz samba-09bf4425492fd96672ddd7a31d88854adcf7f0fe.tar.xz samba-09bf4425492fd96672ddd7a31d88854adcf7f0fe.zip |
move to SAFE_FREE()
Diffstat (limited to 'source/printing/load.c')
-rw-r--r-- | source/printing/load.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/printing/load.c b/source/printing/load.c index c4fc3377c3f..ae76229d773 100644 --- a/source/printing/load.c +++ b/source/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); } /*************************************************************************** |