summaryrefslogtreecommitdiffstats
path: root/source/printing/load.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2001-09-17 09:25:57 +0000
committerSimo Sorce <idra@samba.org>2001-09-17 09:25:57 +0000
commit09bf4425492fd96672ddd7a31d88854adcf7f0fe (patch)
tree978c0e50c709b0323f67b551314bd2431cb45335 /source/printing/load.c
parent64d35e94fe6f7e56353b286162f670c8595a90e6 (diff)
downloadsamba-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.c4
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);
}
/***************************************************************************