]> git.ozlabs.org Git - ccan/blobdiff - ccan/alloc/alloc.c
rfc822: new module.
[ccan] / ccan / alloc / alloc.c
index 181f6302f458540d6549560954d41a76e204b2aa..47a597091d5a1df8f056a234298a48d143522c4c 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under LGPLv2.1+ - see LICENSE file for details */
 #include <unistd.h>
 #include <stdint.h>
 #include <string.h>
@@ -772,7 +773,8 @@ void alloc_free(void *pool, unsigned long poolsize, void *free)
        struct page_header *ph;
 
        if (poolsize < MIN_USEFUL_SIZE) {
-               return tiny_alloc_free(pool, poolsize, free);
+               tiny_alloc_free(pool, poolsize, free);
+               return;
        }
        
        /* Get page header. */