forgot to free blog entries
This commit is contained in:
parent
fbd3dc7494
commit
27de6593b1
@ -90,6 +90,14 @@ char *www_blog() {
|
|||||||
strcat(page, buffer);
|
strcat(page, buffer);
|
||||||
len += strlen(buffer);
|
len += strlen(buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (i=0;i<blog_entry_count;i++) {
|
||||||
|
free(blog_entries[i]->subject);
|
||||||
|
free(blog_entries[i]->author);
|
||||||
|
free(blog_entries[i]->body);
|
||||||
|
free(blog_entries[i]);
|
||||||
|
}
|
||||||
|
free(blog_entries);
|
||||||
}
|
}
|
||||||
|
|
||||||
return page;
|
return page;
|
||||||
|
Reference in New Issue
Block a user