Skip to content
Browse files

memory leak fixes from Matt Tyson

  • Loading branch information...
1 parent 8bd5fff commit 0d9c20e50874e4410ac33784a27e43c778d91995 @fletcher committed Jan 21, 2013
Showing with 5 additions and 0 deletions.
  1. +5 −0 parsing_functions.c
View
5 parsing_functions.c
@@ -59,6 +59,11 @@ static void free_element_contents(element elt) {
case GLOSSARY:
case GLOSSARYTERM:
case NOTELABEL:
+ case CELLSPAN:
+ case EMDASH:
+ case ENDASH:
+ case GLOSSARYSORTKEY:
+ case MATHSPAN:
free(elt.contents.str);
elt.contents.str = NULL;
break;

0 comments on commit 0d9c20e

Please sign in to comment.
Something went wrong with that request. Please try again.