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
869869 /* undefine symbol by putting an invalid name */
870870 if (s)
871871 define_undef(s);
872+ tcc_free(ts);
872873 }
873874
874875 /* 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