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 | 091dbaa00bfb970137290a306ee77b4c5255b6c2 (patch) | |
tree | 5fdfade527fb6ea124e2d90a67dc40980dc75f2d /source3/printing/load.c | |
parent | 4561e8a8ea35f3703ff607f604b5e25cd6144da1 (diff) | |
download | samba-091dbaa00bfb970137290a306ee77b4c5255b6c2.tar.gz samba-091dbaa00bfb970137290a306ee77b4c5255b6c2.tar.xz 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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/load.c b/source3/printing/load.c index c4fc3377c3f..ae76229d773 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); } /*************************************************************************** |