History

tcc_undefine_symbol(): free an alloced symbol

seyko committed 11 years ago

Commit e2a8fd41 parent 8d10c571 file · +1 −0Browse files

Unified · Split

libtcc.c+1−0
@@ -869,6 +869,7 @@ LIBTCCAPI void tcc_undefine_symbol(TCCState *s1, const char *sym) · 868 unmodified lines
869 /* undefine symbol by putting an invalid name */869 /* undefine symbol by putting an invalid name */
870 if (s)870 if (s)
871 define_undef(s);871 define_undef(s);
872 tcc_free(ts);
872}873}
873 874
874/* cleanup all static data used during compilation */875/* cleanup all static data used during compilation */

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