Mercurial > dnsbl
diff src/context.cpp @ 164:5809bcdc325b stable-6-0-4
spamassassin changes
author | carl |
---|---|
date | Sun, 26 Aug 2007 19:43:35 -0700 |
parents | 97d7da45fe2a |
children | 9b129ed78d7d |
line wrap: on
line diff
--- a/src/context.cpp Sun Aug 26 19:03:17 2007 -0700 +++ b/src/context.cpp Sun Aug 26 19:43:35 2007 -0700 @@ -1049,6 +1049,14 @@ //////////////////////////////////////////////// +// clear all global strings, helper for valgrind checking +// +void clear_strings() { + discard(all_strings); +} + + +//////////////////////////////////////////////// // bool tsa(TOKEN &tok, char *token); bool tsa(TOKEN &tok, char *token) {