spoolss: clear info on GetPrinterDriverDirectory error
commitfd9daf39e7faa76a5b8b47c316a16ed257dea837
authorDavid Disseldorp <ddiss@samba.org>
Wed, 17 Dec 2014 15:47:50 +0000 (17 16:47 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 14 Jan 2015 20:58:09 +0000 (14 21:58 +0100)
tree5768d12258341666a60a916069b02685d131b94f
parentfcbeb4638d2120c20ff361720723554cbf1e4c3a
spoolss: clear info on GetPrinterDriverDirectory 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>
(cherry picked from commit c9fccb5018f9a19bb654b9ad79aa716e37a274d6)
source3/rpc_server/spoolss/srv_spoolss_nt.c