summaryrefslogtreecommitdiffstats
path: root/source/locking
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-05-01 19:43:50 +0000
committerJeremy Allison <jra@samba.org>2000-05-01 19:43:50 +0000
commit3b25f7368be3877e9ad27498bc9451ec88d4b07f (patch)
tree730133b3ce701f5ef5a81d1060eccd5f27468115 /source/locking
parentc40e0a5d3bfa11cb3699bdba1ded91515cabaf5d (diff)
downloadsamba-3b25f7368be3877e9ad27498bc9451ec88d4b07f.tar.gz
samba-3b25f7368be3877e9ad27498bc9451ec88d4b07f.tar.xz
samba-3b25f7368be3877e9ad27498bc9451ec88d4b07f.zip
locking/posix.c: Fixed double-free nasty crash bug found by insure.
utils/make_smbcodepage.c: utils/make_unicodemap.c: Insure 'make install' fixes. Jeremy.
Diffstat (limited to 'source/locking')
-rw-r--r--source/locking/posix.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/locking/posix.c b/source/locking/posix.c
index d6eaad89c14..7cada20ac3c 100644
--- a/source/locking/posix.c
+++ b/source/locking/posix.c
@@ -246,9 +246,6 @@ int fd_close_posix(struct connection_struct *conn, files_struct *fsp)
}
}
- if (fd_array)
- free((char *)fd_array);
-
/*
* Delete all fd's stored in the tdb
* for this dev/inode pair.