summaryrefslogtreecommitdiff
path: root/source3/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
commit091dbaa00bfb970137290a306ee77b4c5255b6c2 (patch)
tree5fdfade527fb6ea124e2d90a67dc40980dc75f2d /source3/printing/load.c
parent4561e8a8ea35f3703ff607f604b5e25cd6144da1 (diff)
downloadsamba-091dbaa00bfb970137290a306ee77b4c5255b6c2.tar.gz
samba-091dbaa00bfb970137290a306ee77b4c5255b6c2.tar.bz2
samba-091dbaa00bfb970137290a306ee77b4c5255b6c2.zip
move to SAFE_FREE()
(This used to be commit 09bf4425492fd96672ddd7a31d88854adcf7f0fe)
Diffstat (limited to 'source3/printing/load.c')
-rw-r--r--source3/printing/load.c4
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);
}
/***************************************************************************