spoolss: clear info on GetPrintProcessorDirectory error
authorDavid Disseldorp <ddiss@samba.org>
Wed, 17 Dec 2014 14:54:22 +0000 (15:54 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 19 Dec 2014 14:40:43 +0000 (15:40 +0100)
commit679c781112ce6b7cffca11c28e58ae5f9a0d717d
tree7f4db7666dda038dc968c82ab857b87e56177853
parentb113ed6043622cdec68f3a70631b363594f3a8d0
spoolss: clear info on GetPrintProcessorDirectory error

If an error is returned without zeroing a pre-allocated @info pointer,
then marshalling of the response will fail.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10984

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/rpc_server/spoolss/srv_spoolss_nt.c