mirror of
https://github.com/samba-team/samba.git
synced 2025-01-03 01:18:10 +03:00
Fix valgrind errors in _spoolss_addprinterdriver
Jerry, this was dropped as part of your SVN r15309 (037f9f83
). Can you please
check?
Thanks,
Volker
This commit is contained in:
parent
956e1f7545
commit
5aa2411f0b
@ -7858,6 +7858,17 @@ WERROR _spoolss_addprinterdriver(pipes_struct *p, SPOOL_Q_ADDPRINTERDRIVER *q_u,
|
||||
goto done;
|
||||
}
|
||||
|
||||
switch(level) {
|
||||
case 3:
|
||||
fstrcpy(driver_name,
|
||||
driver.info_3->name ? driver.info_3->name : "");
|
||||
break;
|
||||
case 6:
|
||||
fstrcpy(driver_name,
|
||||
driver.info_6->name ? driver.info_6->name : "");
|
||||
break;
|
||||
}
|
||||
|
||||
/*
|
||||
* I think this is where he DrvUpgradePrinter() hook would be
|
||||
* be called in a driver's interface DLL on a Windows NT 4.0/2k
|
||||
|
Loading…
Reference in New Issue
Block a user