Second attempt to fix bug #8384 - Windows XP clients seem to crash smbd process every...
[mat/samba.git] / source3 / rpc_server / spoolss / srv_spoolss_nt.c
index 2efd8823cff4c2ba5054c9eceaa1b6a47ea985a2..3405566ed76921fc7de0b99db045aea42e89aefa 100644 (file)
@@ -2613,7 +2613,7 @@ static bool srv_spoolss_replyopenprinter(int snum, const char *printer,
                /* the +2 is to strip the leading 2 backslashs */
                fstrcpy(unix_printer, printer + 2);
 
-               chan = talloc_zero(back_channels, struct notify_back_channel);
+               chan = talloc_zero(NULL, struct notify_back_channel);
                if (!chan) {
                        return false;
                }