X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=rset%2Frsm_or.c;h=382e5dd2f980238888da31d621076701fc1be78c;hb=83533000f9456dcab2fc171abafd84d6104d4087;hp=a0f37a507e7db332bdfcf3193997b7f5ad1a18aa;hpb=ef696645cc3b7e0f4027008d1dc589c0f0f90c1f;p=idzebra-moved-to-github.git diff --git a/rset/rsm_or.c b/rset/rsm_or.c index a0f37a5..382e5dd 100644 --- a/rset/rsm_or.c +++ b/rset/rsm_or.c @@ -1,10 +1,16 @@ /* - * Copyright (C) 1994-1998, Index Data + * Copyright (C) 1994-1999, Index Data * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * * $Log: rsm_or.c,v $ - * Revision 1.8 1999-05-26 07:49:14 adam + * Revision 1.10 1999-11-30 13:48:04 adam + * Improved installation. Updated for inclusion of YAZ header files. + * + * Revision 1.9 1999/07/13 14:45:42 adam + * Fixed memory leak. + * + * Revision 1.8 1999/05/26 07:49:14 adam * C++ compilation. * * Revision 1.7 1998/09/22 10:03:46 adam @@ -34,15 +40,17 @@ * */ + #include #include #include #include +#include +#if ZMBOL #include #include #include -#include static void *r_create(RSET ct, const struct rset_control *sel, void *parms); static RSFD r_open (RSET ct, int flag); @@ -177,6 +185,7 @@ struct trunc_info *heap_init (int size, int key_size, static void heap_close (struct trunc_info *ti) { + xfree (ti->buf); xfree (ti->ptr); xfree (ti->indx); xfree (ti->heap); @@ -345,3 +354,4 @@ static int r_write (RSFD rfd, const void *buf) logf (LOG_FATAL, "mor set type is read-only"); return -1; } +#endif