summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-03-11 23:14:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:17 -0500
commitc00e664e25e100102f6404671884e8fb0bd33f63 (patch)
tree2bce6bac9bdeed52c6b001ed8af8bf2f99ae2337 /source3/printing
parente4c733f4ceb17c5a782bf36daf46b8c29a7442dc (diff)
downloadsamba-c00e664e25e100102f6404671884e8fb0bd33f63.tar.gz
samba-c00e664e25e100102f6404671884e8fb0bd33f63.tar.bz2
samba-c00e664e25e100102f6404671884e8fb0bd33f63.zip
r14221: Fix coverity #76. My previous change wasn't quite enough :-).
Jeremy. (This used to be commit 21b70035f39973e9edff323219c3c7eeb1550e2b)
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/nt_printing.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index 68e18913ee..5f751bf110 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -3533,6 +3533,7 @@ static void map_to_os2_driver(fstring drivername)
lines = file_lines_load(mapfile, &numlines,0);
if (numlines == 0 || lines == NULL) {
DEBUG(0,("No entries in OS/2 driver map %s\n",mapfile));
+ SAFE_FREE(lines);
return;
}