mit-kdb: Fix NULL pointer check after malloc
commit1a90ffedddd6d125fba6d509ba2721527fd113e7
authorAndreas Schneider <asn@samba.org>
Mon, 24 Jul 2017 10:19:27 +0000 (24 12:19 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 31 Jul 2017 13:49:50 +0000 (31 15:49 +0200)
tree96254ff034aa610b250738d85e746de6b3a8dcd4
parent0309fcfbdad1209eda38cfcd991a8542248a96b6
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>
(cherry picked from commit 9b64b11c2f2c1bc77ae887b34d7efcb9f1452da7)

Autobuild-User(v4-7-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-7-test): Mon Jul 31 15:49:51 CEST 2017 on sn-devel-144
source4/kdc/mit-kdb/kdb_samba_pac.c