From 973371c344572b124f13d10d0726e4c28fa3fba0 Mon Sep 17 00:00:00 2001 From: Karl Ramm Date: Sun, 9 Aug 2009 20:43:14 +0000 Subject: this gets free'd later... --- zwgc/tty_filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zwgc') diff --git a/zwgc/tty_filter.c b/zwgc/tty_filter.c index ea607e9..ee2409c 100644 --- a/zwgc/tty_filter.c +++ b/zwgc/tty_filter.c @@ -378,7 +378,7 @@ convert_desc_to_tty_str_info(desctype *desc) string_dictionary_binding *b; b = string_dictionary_Lookup(termcap_dict,"B.bell"); if (b) { - temp->str = b->value; + temp->str = strdup(b->value); temp->len = string_Length(temp->str); } else /* shouldn't get here! */ -- cgit v1.2.3