summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-03-07 09:09:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:11:00 -0500
commit92fa7eadc85472867a5e55c43480ccfb6e3e876f (patch)
treef9984daefd60a4735e3b9e6a307cb79355c28a6f /source3
parent894358a8f3e338b339b6c37233edef794b312087 (diff)
downloadsamba-92fa7eadc85472867a5e55c43480ccfb6e3e876f.tar.gz
samba-92fa7eadc85472867a5e55c43480ccfb6e3e876f.tar.bz2
samba-92fa7eadc85472867a5e55c43480ccfb6e3e876f.zip
r13916: Fix Coverity bug #29. Looks like my code. I wonder how much there is still
lurking... Volker (This used to be commit 1345a52794f4f55173ed677af3d0714e88bf17c6)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/oplock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c
index 7d0a94efda..61e812d43a 100644
--- a/source3/smbd/oplock.c
+++ b/source3/smbd/oplock.c
@@ -764,6 +764,7 @@ void release_level_2_oplocks_on_change(files_struct *fsp)
if (lck == NULL) {
DEBUG(0,("release_level_2_oplocks_on_change: failed to lock "
"share mode entry for file %s.\n", fsp->fsp_name ));
+ return;
}
DEBUG(10,("release_level_2_oplocks_on_change: num_share_modes = %d\n",