summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-03-11 23:14:42 +0000
committerJeremy Allison <jra@samba.org>2006-03-11 23:14:42 +0000
commitfb9d9beedca278c5e5f7b6c2c07a643de0cf0ced (patch)
treeb504f693ba14d84c2fffd8fcbac8dc703a05d6a1 /source
parent48155a47f76dc54cd78b8364caa53413c38885e5 (diff)
downloadsamba-fb9d9beedca278c5e5f7b6c2c07a643de0cf0ced.tar.gz
samba-fb9d9beedca278c5e5f7b6c2c07a643de0cf0ced.tar.xz
samba-fb9d9beedca278c5e5f7b6c2c07a643de0cf0ced.zip
r14221: Fix coverity #76. My previous change wasn't quite enough :-).
Jeremy.
Diffstat (limited to 'source')
-rw-r--r--source/printing/nt_printing.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/printing/nt_printing.c b/source/printing/nt_printing.c
index 68e18913ee9..5f751bf110c 100644
--- a/source/printing/nt_printing.c
+++ b/source/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;
}