From 0d4ce8fe167ca3df0c216179de0a2e9d22ce3a6a Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sun, 2 Mar 2003 23:12:50 +0000 Subject: [PATCH] Bug fix: missing close (and leaking file handle) --- isamb/isamb.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); -- 1.7.10.4