X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fmain.c;h=8a23e03d5c163e0ff18a13cc7dc4a9a30c6fffeb;hb=fc9684841bbfad0b625e7365b99bae7b7df737df;hp=b86f13bc65b04485f982ade634a9ea34309687a7;hpb=b33ab4fd103294017212e045a0eb1bd7ecd292ff;p=idzebra-moved-to-github.git diff --git a/index/main.c b/index/main.c index b86f13b..8a23e03 100644 --- a/index/main.c +++ b/index/main.c @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.99 2002-10-22 09:37:55 heikki Exp $ +/* $Id: main.c,v 1.102 2003-03-04 23:30:20 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Index Data Aps @@ -35,7 +35,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include #endif -#include +#include #include "zebraapi.h" char *prog; @@ -205,7 +205,7 @@ int main (int argc, char **argv) if (!trans_started) { trans_started=1; - zebra_begin_trans (zh); + zebra_begin_trans (zh, 1); } switch (cmd) @@ -287,6 +287,7 @@ int main (int argc, char **argv) (double) (tms2.tms_stime - tms1.tms_stime)/100); } #endif + nmem_exit(); exit (0); return 0; }