s3-spoolss: Provide a memory context for clean_up_driver_struct().
commit47ae4a518c5eb7c02d3f6c65f64d2ac490a90e83
authorAndreas Schneider <asn@samba.org>
Wed, 16 Jun 2010 09:44:36 +0000 (16 11:44 +0200)
committerAndreas Schneider <asn@samba.org>
Wed, 16 Jun 2010 10:03:46 +0000 (16 12:03 +0200)
treea9fc7a7ec7899ad42a9059a6c452232e0a52e63c
parent18f3e5113ae18e120770ba93b0d36a7b176b0c52
s3-spoolss: Provide a memory context for clean_up_driver_struct().

If we use a stack variable to setup spoolss_AddDriverInfoCtr this would
segfault with a talloc bad magic value.
source3/include/proto.h
source3/printing/nt_printing.c
source3/rpc_server/srv_spoolss_nt.c