Some development of dictionary. Not finished at all!
[idzebra-moved-to-github.git] / dict / dclose.c
index 701b0cb..5a7a65e 100644 (file)
@@ -11,10 +11,10 @@ int dict_bf_close (Dict_BFile dbf)
     int i;
     dict_bf_flush_blocks (dbf, -1);
     
-    free (dbf->all_blocks);
-    free (dbf->all_data);
-    free (dbf->hash_array);
+    xfree (dbf->all_blocks);
+    xfree (dbf->all_data);
+    xfree (dbf->hash_array);
     i = bf_close (dbf->bf);
-    free (dbf);
+    xfree (dbf);
     return i;
 }