Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spoolss: cache_key handle allocation failures early
On cache_key allocation failure, set_printer_hnd_name() currently stumbles through the rest of the function, and includes extra logic to handle a NULL key later on. Handling the allocation failure early makes sense, and also allows for the NULL key checks to be removed. Signed-off-by: David Disseldorp <[email protected]> Reviewed-by: Guenther Deschner <[email protected]> Autobuild-User(master): Günther Deschner <[email protected]> Autobuild-Date(master): Wed Apr 15 18:55:50 CEST 2015 on sn-devel-104
- Loading branch information