WRBUF updates.
[idzebra-moved-to-github.git] / index / regxread.c
index 77404b8..4e75ffa 100644 (file)
@@ -1,5 +1,5 @@
-/* $Id: regxread.c,v 1.5 2006-10-30 14:05:30 adam Exp $
-   Copyright (C) 1995-2006
+/* $Id: regxread.c,v 1.7 2007-03-19 21:50:39 adam Exp $
+   Copyright (C) 1995-2007
    Index Data ApS
 
 This file is part of the Zebra server.
@@ -646,7 +646,7 @@ int readFileSpec (struct lexSpec *spec)
         }
     }
     fclose (spec_inf);
-    wrbuf_free(lineBuf, 1);
+    wrbuf_destroy(lineBuf);
 
     for (lc = spec->context; lc; lc = lc->next)
     {