diff --git a/src/www_blog.c b/src/www_blog.c index e914ca3..b0a0069 100644 --- a/src/www_blog.c +++ b/src/www_blog.c @@ -90,6 +90,14 @@ char *www_blog() { strcat(page, buffer); len += strlen(buffer); } + + for (i=0;isubject); + free(blog_entries[i]->author); + free(blog_entries[i]->body); + free(blog_entries[i]); + } + free(blog_entries); } return page;