]> git.cameronkatri.com Git - cgit.git/blobdiff - cache.c
ui-repolist: fix resource leak: free allocation from cgit_currenturl
[cgit.git] / cache.c
diff --git a/cache.c b/cache.c
index cd998127cc23e361cd9f53d9d988754fa5faa93d..57c891864ffb8b70447c6db5fd8366f662aadd39 100644 (file)
--- a/cache.c
+++ b/cache.c
  *
  */
 
-#ifdef HAVE_LINUX_SENDFILE
-#include <sys/sendfile.h>
-#endif
 #include "cgit.h"
 #include "cache.h"
 #include "html.h"
+#ifdef HAVE_LINUX_SENDFILE
+#include <sys/sendfile.h>
+#endif
 
 #define CACHE_BUFSIZE (1024 * 4)