diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2011-10-01 20:45:38 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2011-10-01 20:45:38 -0700 |
commit | 460af4151d3cf4ee42a69ca166555b2e17bb73a8 (patch) | |
tree | b4fba21c8c61cd08b551ff4a9c340ec3e49a7059 /filter.c | |
parent | f913686407f54b66a4ae13f7361f45ef66423781 (diff) | |
download | txr-460af4151d3cf4ee42a69ca166555b2e17bb73a8.tar.gz txr-460af4151d3cf4ee42a69ca166555b2e17bb73a8.tar.bz2 txr-460af4151d3cf4ee42a69ca166555b2e17bb73a8.zip |
* filter.c (filters, filter_init): Serious gc bug fixed: neglected to
inform the garbage collector about the filters global variable.
Ouch!
Diffstat (limited to 'filter.c')
-rw-r--r-- | filter.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -542,6 +542,8 @@ val filter_k, to_html_k, from_html_k; void filter_init(void) { + protect(&filters, (val *) 0); + filters = make_hash(nil, nil); filter_k = intern(lit("filter"), keyword_package); to_html_k = intern(lit("to_html"), keyword_package); |