Fixed a few mem leaks, and C++ compatibility
[SXSI/TextCollection.git] / lzindex / position.c
index 984a8d4..d9d552d 100644 (file)
@@ -136,6 +136,7 @@ void destroyPosition(position P)
     if (!P) return; 
     free(P->SuperBlock);
     free(P->Offset);
+    free(P);
  }