r16424: Fix possible null deref and a memory leak found by
authorJeremy Allison <jra@samba.org>
Tue, 20 Jun 2006 19:06:57 +0000 (19:06 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:18:52 +0000 (11:18 -0500)
commit4fbeae1a3ac3499e5d9f566655cbafccd9d691cb
tree7aa5fdc61de8dc53263334417d5209a14ff9b479
parente83c3e0a65edeb423d964488e219e30d023b13e8
r16424: Fix possible null deref and a memory leak found by
examining Klockwork #1519. get_printer_subkeys()
could return zero without initializing it's return
pointer arg. Fixed this. Added free of subkey pointer
return in registry/reg_printing.c (interesting that
neithe Coverity or Klocwork found this one).
Jeremy.
source/printing/nt_printing.c
source/registry/reg_printing.c