diff options
author | Jeremy Allison <jra@samba.org> | 2007-04-27 23:18:41 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-04-27 23:18:41 +0000 |
commit | 04fd9ba97be2034004c20eab00c89099e6883bea (patch) | |
tree | d72ebd488852f73cd035da10e2215d243d0fb354 /source/locking/locking.c | |
parent | 3d32042d58bdb4b9f4e6564ced87efc88478681b (diff) | |
download | samba-04fd9ba97be2034004c20eab00c89099e6883bea.tar.gz samba-04fd9ba97be2034004c20eab00c89099e6883bea.tar.xz samba-04fd9ba97be2034004c20eab00c89099e6883bea.zip |
r22542: Move over to using the _strict varients of the talloc
calls. No functional changes. Looks bigger than it is :-).
Jeremy.
Diffstat (limited to 'source/locking/locking.c')
-rw-r--r-- | source/locking/locking.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/locking/locking.c b/source/locking/locking.c index 37e6dbc4e54..2181fca4085 100644 --- a/source/locking/locking.c +++ b/source/locking/locking.c @@ -521,7 +521,7 @@ static BOOL parse_share_modes(TDB_DATA dbuf, struct share_mode_lock *lck) } lck->share_modes = (struct share_mode_entry *) - talloc_memdup(lck, dbuf.dptr+sizeof(*data), + TALLOC_MEMDUP(lck, dbuf.dptr+sizeof(*data), lck->num_share_modes * sizeof(struct share_mode_entry)); |