From: Adam Dickmeiss Date: Sun, 2 Mar 2003 23:12:50 +0000 (+0000) Subject: Bug fix: missing close (and leaking file handle) X-Git-Tag: ZEBRA.1.3.8~52 X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=commitdiff_plain;h=0d4ce8fe167ca3df0c216179de0a2e9d22ce3a6a Bug fix: missing close (and leaking file handle) --- diff --git a/isamb/isamb.c b/isamb/isamb.c index 4fa613a..2ac59fb 100644 --- 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. @@ -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_close (isamb->file[i].bf); } xfree (isamb->file); xfree (isamb->method);