More memory leak fixes, added command thread to mbtask

This commit is contained in:
Michiel Broek
2003-12-06 16:35:33 +00:00
parent 07012fa3e1
commit d55d4e0df1
13 changed files with 500 additions and 399 deletions

View File

@@ -489,7 +489,7 @@ char *printable(char *s, int l)
len=-l;
}
pbuff=(char*)xmalloc(len*4+1);
pbuff=(char*)xmalloc(len*3+1);
p=pbuff;
while (len--) {
if (isprint(*(unsigned char*)s))