projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
basic callback support
[m6w6/ext-psi]
/
src
/
context.c
diff --git
a/src/context.c
b/src/context.c
index ed26f8223214fb62c989e5ee8b57170a75771476..c86a595d8c79be86b07db026024c476080d3adcf 100644
(file)
--- a/
src/context.c
+++ b/
src/context.c
@@
-342,6
+342,12
@@
void PSI_ContextDtor(PSI_Context *C)
}
free(C->structs);
}
+ if (C->unions) {
+ if (C->unions->list) {
+ free(C->unions->list);
+ }
+ free(C->unions);
+ }
if (C->enums) {
if (C->enums->list) {
free(C->enums->list);