mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
r18804: resume_hnd isn't a ref pointer and can be NULL
metze
(This used to be commit 8736262342
)
This commit is contained in:
parent
d56c3dfdaa
commit
7239a85f0a
@ -508,7 +508,9 @@ static WERROR init_srv_share_info_ctr(pipes_struct *p,
|
||||
|
||||
ZERO_STRUCTP(ctr);
|
||||
|
||||
*resume_hnd = 0;
|
||||
if (resume_hnd) {
|
||||
*resume_hnd = 0;
|
||||
}
|
||||
|
||||
/* Ensure all the usershares are loaded. */
|
||||
become_root();
|
||||
|
Loading…
Reference in New Issue
Block a user