projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b551622
)
Bug fix: missing close (and leaking file handle)
author
Adam Dickmeiss
<adam@indexdata.dk>
Sun, 2 Mar 2003 23:12:50 +0000
(23:12 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Sun, 2 Mar 2003 23:12:50 +0000
(23:12 +0000)
isamb/isamb.c
patch
|
blob
|
history
diff --git
a/isamb/isamb.c
b/isamb/isamb.c
index
4fa613a
..
2ac59fb
100644
(file)
--- a/
isamb/isamb.c
+++ b/
isamb/isamb.c
@@
-1,5
+1,5
@@
-/* $Id: isamb.c,v 1.22 2003-02-04 12:06:47 pop Exp $
- Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
+/* $Id: isamb.c,v 1.23 2003-03-02 23:12:50 adam Exp $
+ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003
Index Data Aps
This file is part of the Zebra server.
Index Data Aps
This file is part of the Zebra server.
@@
-249,6
+249,7
@@
void isamb_close (ISAMB isamb)
bf_write (isamb->file[i].bf, 0, 0,
sizeof(struct ISAMB_head), &isamb->file[i].head);
bf_write (isamb->file[i].bf, 0, 0,
sizeof(struct ISAMB_head), &isamb->file[i].head);
+ bf_close (isamb->file[i].bf);
}
xfree (isamb->file);
xfree (isamb->method);
}
xfree (isamb->file);
xfree (isamb->method);