]> mj.ucw.cz Git - libucw.git/blobdiff - lib/fastbuf.c
Use OBUCK_INCOMPLETE_MAGIC for incomplete entries.
[libucw.git] / lib / fastbuf.c
index 42506f763e385715028bf973b2eade7d30dcf74d..0939b6d512533ad5bb9979b45eb3193a2b6879f8 100644 (file)
@@ -4,17 +4,17 @@
  *     (c) 1997--2000 Martin Mares <mj@ucw.cz>
  */
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "lib/lib.h"
 #include "lib/fastbuf.h"
 
+#include <stdio.h>
+#include <stdlib.h>
+
 void bclose(struct fastbuf *f)
 {
   bflush(f);
   f->close(f);
-  free(f);
+  xfree(f);
 }
 
 void bflush(struct fastbuf *f)