1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

param: add missing talloc_free in lpcfg_file_list_changed which are present in s3

Change-Id: Ib363069f5ecc4fc743aadf143efd640e00d74543
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Garming Sam 2014-05-06 16:04:01 +12:00 committed by Michael Adam
parent 2aedc10e86
commit 0b6bf024bb

View File

@ -1043,8 +1043,10 @@ bool lpcfg_file_list_changed(struct loadparm_context *lp_ctx)
f->modtime = mod_time;
talloc_free(f->subfname);
f->subfname = talloc_strdup(f, n2);
TALLOC_FREE(n2);
return true;
}
TALLOC_FREE(n2);
}
return false;
}