ctdb: Don't leak a pointer on talloc_realloc failure
commit1b1fd5c2280ee7f5a3caba0779bf5208c11359db
authorVolker Lendecke <vl@samba.org>
Wed, 6 Nov 2024 10:51:04 +0000 (6 11:51 +0100)
committerMartin Schwenke <martins@samba.org>
Wed, 6 Nov 2024 23:03:42 +0000 (6 23:03 +0000)
tree44eb420dbcd72399e661b7c95e5b0dec42b32ffa
parente080add68ab748a290533ec1fcb97c6aef319418
ctdb: Don't leak a pointer on talloc_realloc failure

We should not directly overwrite the pointer we are realloc'ing

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/server/ctdb_takeover.c