diff --git a/deps/aha/aha.c b/deps/aha/aha.c index 238a22d..9cb6cc9 100644 --- a/deps/aha/aha.c +++ b/deps/aha/aha.c @@ -115,7 +115,7 @@ char * aha(char *input) int temp; char *ptr = unmangle_out; char *output = (char *)malloc(256); - int size; + int size = 256; int outat = 0; char minibuf[2]; diff --git a/www_msgs.c b/www_msgs.c index fb33b94..d724339 100644 --- a/www_msgs.c +++ b/www_msgs.c @@ -480,8 +480,8 @@ char *www_msgs_messageview(struct user_record *user, int conference, int area, i strcat(page, aha_out); len += strlen(aha_out); - //free(aha_out); - //free(aha_text); + free(aha_out); + free(aha_text); sprintf(buffer, "\n"); if (len + strlen(buffer) > max_len - 1) {