aboutsummaryrefslogtreecommitdiff
path: root/treexpr.h
diff options
context:
space:
mode:
authorDavid Barksdale <amatus.amongus@gmail.com>2006-04-24 02:28:12 +0000
committerDavid Barksdale <amatus.amongus@gmail.com>2006-04-24 02:28:12 +0000
commitcf308c8cdbc3209f31d45f5ed28929f699d9837c (patch)
tree5d55fb305c117c7caf1001ac5e89e4c171c6cafa /treexpr.h
parentaeb110d90df145ac99009c1a7b9e3077d6b457a6 (diff)
Fixing some formatting issues, added a free_matches function to handle the
freeing of memory allocated in process_document, this function is now used in the GrockHtml class to fix a memory leak.
Diffstat (limited to 'treexpr.h')
-rw-r--r--treexpr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/treexpr.h b/treexpr.h
index c424a54..d1705cc 100644
--- a/treexpr.h
+++ b/treexpr.h
@@ -103,5 +103,6 @@ struct match
const char *parse_treexpr( const char *expr, struct machine **m );
void free_machine( struct machine *m );
struct match *document_process( struct machine *m, xmlDocPtr doc );
+void free_matches( struct match *z );
#endif