diff options
author | Karl Ramm <kcr@1ts.org> | 2009-08-09 20:43:14 +0000 |
---|---|---|
committer | Karl Ramm <kcr@1ts.org> | 2009-08-09 20:43:14 +0000 |
commit | 973371c344572b124f13d10d0726e4c28fa3fba0 (patch) | |
tree | 07854342cb92b573a43ff0478d20f74b05a5cdee /zwgc | |
parent | 905d1a04febb55bdd97e5ef2083420b2243f5bd7 (diff) |
this gets free'd later...
Diffstat (limited to 'zwgc')
-rw-r--r-- | zwgc/tty_filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
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! */ |