1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

repl_meta_data: Initialise parent_dn to NULL

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>

Autobuild-User(master): Garming Sam <garming@samba.org>
Autobuild-Date(master): Mon Oct 30 04:16:42 CET 2017 on sn-devel-144
This commit is contained in:
Andrew Bartlett 2017-10-17 12:00:27 +13:00 committed by Garming Sam
parent cdb42eae89
commit c3aa8809e1

View File

@ -5256,7 +5256,7 @@ static int replmd_replicated_apply_search_for_parent_callback(struct ldb_request
{
struct ldb_message *parent_msg = ares->message;
struct ldb_message *msg = ar->objs->objects[ar->index_current].msg;
struct ldb_dn *parent_dn;
struct ldb_dn *parent_dn = NULL;
int comp_num;
if (!ldb_msg_check_string_attribute(msg, "isDeleted", "TRUE")