malloc error

This commit is contained in:
albert
2003-01-23 05:48:27 +00:00
parent e092b7a18d
commit 0a03eac352
6 changed files with 155 additions and 149 deletions

View File

@ -309,7 +309,7 @@ static sort_node *do_one_sort_spec(const char *spec){
fs = search_format_array(spec);
if(fs){
sort_node *thisnode;
thisnode = malloc(sizeof(format_node));
thisnode = malloc(sizeof(sort_node));
thisnode->sr = fs->sr;
thisnode->need = fs->need;
thisnode->reverse = reverse;