check return value before using key_values
commitf75e8f58cd2390c092631803d333adadb475306a
authorAndrej Gessel <Andrej.Gessel@janztec.com>
Tue, 19 Jun 2018 08:07:51 +0000 (19 10:07 +0200)
committerJeremy Allison <jra@samba.org>
Sat, 23 Jun 2018 00:00:28 +0000 (23 02:00 +0200)
tree910bacd39f0703f4680a256f1830cbd5f9a34852
parent6b52d21e6040699a72aff12fd6ebb34534dcb457
check return value before using key_values

there are also mem leaks in this function

Signed-off-by: Andrej Gessel <Andrej.Gessel@janztec.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/ldb/ldb_tdb/ldb_index.c