diff options
| author | Björn Baumbach <bb@sernet.de> | 2014-04-14 14:37:29 +0200 |
|---|---|---|
| committer | Jeremy Allison <jra@samba.org> | 2014-04-16 20:39:08 +0200 |
| commit | fae7e5d771d1c69bded1189b23335647023fa0f7 (patch) | |
| tree | 7ae416ce7f3d12664b3fa75ac47c1e3a70514986 /source3/winbindd/winbindd_cache.c | |
| parent | a56c35a4deec9745ff27a66ddc85db48c5dfaf97 (diff) | |
lib-util: rename memdup to smb_memdup and fix all callers
Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3/winbindd/winbindd_cache.c')
| -rw-r--r-- | source3/winbindd/winbindd_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c index b9cfd826dc..9c4b5bd4e8 100644 --- a/source3/winbindd/winbindd_cache.c +++ b/source3/winbindd/winbindd_cache.c @@ -3562,7 +3562,7 @@ static struct cache_entry *create_centry_validate(const char *kstr, TDB_DATA dat struct cache_entry *centry; centry = SMB_XMALLOC_P(struct cache_entry); - centry->data = (unsigned char *)memdup(data.dptr, data.dsize); + centry->data = (unsigned char *)smb_memdup(data.dptr, data.dsize); if (!centry->data) { SAFE_FREE(centry); return NULL; |
