projects
/
cascardo
/
grammar.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
memory leak at bnf loader
[cascardo/grammar.git]
/
bnf.c
diff --git
a/bnf.c
b/bnf.c
index
c7db70b
..
20e73ca
100644
(file)
--- a/
bnf.c
+++ b/
bnf.c
@@
-282,6
+282,8
@@
grammar_t* grammar_load (char* filename)
close (fd);
scanner_delete (scanner);
+ rdp_delete (rdp);
+ grammar_delete (grammar);
if (tree == NULL)
{