]> git.ipfire.org Git - thirdparty/samba.git/commit
ctdb-server: Remove duplicate logic
authorMartin Schwenke <mschwenke@ddn.com>
Mon, 30 Sep 2024 02:40:57 +0000 (12:40 +1000)
committerMartin Schwenke <martins@samba.org>
Wed, 6 Nov 2024 23:03:42 +0000 (23:03 +0000)
commit762f5f5ca6350cc0b93c71f06abc963e13793e0e
tree8503a0f1218bb411575815937042ffb11089de5f
parent5af8627feb805b65b9bf28a295f2f7f81f5f8826
ctdb-server: Remove duplicate logic

Initialise the pointer to NULL and fall through to let
talloc_realloc() do the allocation.  talloc_realloc() does the right
thing with a NULL pointer...

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jerry Heyman <jheyman@ddn.com>
ctdb/server/ctdb_takeover.c