mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
s3:printing: Fix a possible NULL dereference.
Coverity-Id: 710708 Signed-off-by: Poornima Gurusiddaiah <pgurusid@redhat.com> Reviewed-by: Ira Cooper <ira@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
68d5f27464
commit
72f9932d4f
@ -248,7 +248,7 @@ done:
|
||||
}
|
||||
}
|
||||
/* We need to delete the job from spoolss too */
|
||||
if (pf->jobid) {
|
||||
if (pf && pf->jobid) {
|
||||
print_spool_terminate(fsp->conn, pf);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user