History

tccpp: avoid double free with macro_ptr_allocated (after errors)

grischka committed 17 years ago

Commit d923e651 parent 0d34c211 file · +1 −0Browse files

Unified · Split

tccpp.c+1−0
@@ -2771,6 +2771,7 @@ static void next(void) · 2770 unmodified lines
27712771 } else {
27722772 /* end of macro string: free it */
27732773 tok_str_free(macro_ptr_allocated);
2774+ macro_ptr_allocated = NULL;
27742775 macro_ptr = NULL;
27752776 }
27762777 goto redo;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t