several other changes concerning mallocz

This commit is contained in:
garbeam 2005-12-08 02:39:07 +02:00
parent 629b23ae5d
commit 5811ab9b25
2 changed files with 0 additions and 4 deletions

View File

@ -433,9 +433,6 @@ int main(int argc, char *argv[])
/* default item settings */
item = cext_emallocz(sizeof(Item));
item->id = 0;
item->text[0] = '\0';
item->value = 0;
align = "bottom";
font = "fixed";

View File

@ -97,7 +97,6 @@ static char *_ls(File * f)
}
qsort(tmp, num, sizeof(char *), comp_file_name);
result = cext_emallocz(size);
result[0] = '\0';
for (i = 0; i < num; i++) {
strncat(result, tmp[i]->name, size);
if (is_directory(tmp[i]))