s3: Lift the smbd_messaging_context from winreg_printer_enumforms1
[amitay/samba.git] / source3 / rpc_server / srv_spoolss_nt.c
index b02c17a4fd759b4b4cc855f530998c4ab1e5597c..33d318ea374701b001157f4b4dd5054862d36ed6 100644 (file)
@@ -6928,6 +6928,7 @@ WERROR _spoolss_EnumForms(struct pipes_struct *p,
        case 1:
                result = winreg_printer_enumforms1(p->mem_ctx,
                                                   p->server_info,
+                                                  p->msg_ctx,
                                                   r->out.count,
                                                   r->out.info);
                break;