diff options
author | Volker Lendecke <vl@samba.org> | 2011-11-23 17:43:35 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-11-23 19:17:20 +0100 |
commit | b1f7164aa86789a2cdca4ccbe9395abfda0751cb (patch) | |
tree | 77a7dec12b1a8b86ba91f7db8a88371d7bba1115 /source3 | |
parent | d126414b47d8d8f9a6530a819a4f68aac0654617 (diff) | |
download | samba-b1f7164aa86789a2cdca4ccbe9395abfda0751cb.tar.gz samba-b1f7164aa86789a2cdca4ccbe9395abfda0751cb.tar.bz2 samba-b1f7164aa86789a2cdca4ccbe9395abfda0751cb.zip |
s3: Fix a valgrind error
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Nov 23 19:17:20 CET 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r-- | source3/locking/locking.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c index 1062f04f16..611b2d2990 100644 --- a/source3/locking/locking.c +++ b/source3/locking/locking.c @@ -1610,7 +1610,7 @@ void set_delete_on_close_lck(files_struct *fsp, /* Delete this entry. */ TALLOC_FREE(dt->delete_token); *dt = lck->delete_tokens[ - lck->num_delete_tokens]; + lck->num_delete_tokens-1]; lck->num_delete_tokens -= 1; return; } |