mit-kdb: Fix NULL pointer check after malloc
commit9b64b11c2f2c1bc77ae887b34d7efcb9f1452da7
authorAndreas Schneider <asn@samba.org>
Mon, 24 Jul 2017 10:19:27 +0000 (24 12:19 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 24 Jul 2017 16:45:33 +0000 (24 18:45 +0200)
treec77e9091b01e0a28819bbb706c3794db3987b38d
parent314cf608932c21d593afd04769b07435bcd4fc53
mit-kdb: Fix NULL pointer check after malloc

This fixes building with GCC 7.1.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12930

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Jul 24 18:45:34 CEST 2017 on sn-devel-144
source4/kdc/mit-kdb/kdb_samba_pac.c