1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

messaging4: Fix an error path memleak

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
Volker Lendecke
2014-09-14 14:33:53 +02:00
parent 041eb5c5bc
commit 81d79e6e56

View File

@ -1041,6 +1041,7 @@ struct irpc_name_records *irpc_all_servers(struct imessaging_context *msg_ctx,
ret = tdb_traverse_read(t->tdb, all_servers_func, name_records);
if (ret == -1) {
TALLOC_FREE(name_records);
return NULL;
}