forked from enlightenment/efl
epp - fix tchnical leak for coverity
its technically a leak.. but epp will give up a nd error out anyway here so... didn't matter. fix CID 1402655
This commit is contained in:
parent
08b8cfc07d
commit
b832f70eb5
|
@ -7115,7 +7115,6 @@ read_token_list(cpp_reader * pfile, int *error_flag)
|
|||
memcpy(temp->name, (char *)(pfile->token_buffer + name_written),
|
||||
length);
|
||||
temp->name[length] = 0;
|
||||
temp->next = token_ptrs;
|
||||
token_ptrs = temp;
|
||||
temp->length = length;
|
||||
|
||||
|
@ -7125,8 +7124,10 @@ read_token_list(cpp_reader * pfile, int *error_flag)
|
|||
{ /* FIXME */
|
||||
cpp_error(pfile,
|
||||
"unterminated token sequence following `#' operator");
|
||||
free(temp);
|
||||
return 0;
|
||||
}
|
||||
temp->next = token_ptrs;
|
||||
}
|
||||
|
||||
/* We accumulated the names in reverse order.
|
||||
|
|
Loading…
Reference in New Issue