]> mj.ucw.cz Git - libucw.git/blobdiff - lib/pagecache.c
I decided to turn off cf/url-equiv for indexation. however, after the indexer
[libucw.git] / lib / pagecache.c
index edbf6c631ba6cf8ec35f3d52e1803ef709d280e1..6a2643dfae7547caceae0098ec926b076fd8f141 100644 (file)
@@ -16,6 +16,7 @@
 #include <string.h>
 #include <fcntl.h>
 #include <unistd.h>
+#include <alloca.h>
 
 struct page_cache {
   list free_pages;                     /* LRU queue of free non-dirty pages */
@@ -342,7 +343,7 @@ pgc_put(struct page_cache *c, struct page *p)
   else
     {
       rem_node(&p->hn);
-      free(p);
+      xfree(p);
       c->total_count--;
     }
 }