Fixed minor memory leak
authorAdam Dickmeiss <adam@indexdata.dk>
Sun, 18 Feb 2007 21:50:52 +0000 (21:50 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Sun, 18 Feb 2007 21:50:52 +0000 (21:50 +0000)
index/alvis.c

index fad3671..4ae6140 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: alvis.c,v 1.12 2007-02-12 10:33:51 adam Exp $
+/* $Id: alvis.c,v 1.13 2007-02-18 21:50:52 adam Exp $
    Copyright (C) 1995-2007
    Index Data ApS
 
@@ -345,6 +345,7 @@ static void filter_destroy(void *clientData)
 {
     struct filter_info *tinfo = clientData;
     destroy_schemas(tinfo);
+    xfree(tinfo->full_name);
     if (tinfo->reader)
        xmlFreeTextReader(tinfo->reader);
     odr_destroy(tinfo->odr);