From 554d5663361e1506a757e7639524ce4d461d043c Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Mon, 20 Jun 2011 17:04:02 +0300 Subject: libelmorph: Bugfixes. * src/ellinika/elmorph.c (elstr->phonetic-map): Remove invalid free * src/ellinika/syllabificator.c (NEXT_PHONEME): New macro. (next_syllable): Now static. Uses NEXT_PHONEME to iterate over phonemes. --- src/ellinika/elmorph.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/ellinika/elmorph.c') diff --git a/src/ellinika/elmorph.c b/src/ellinika/elmorph.c index 90a156d..a06d43b 100644 --- a/src/ellinika/elmorph.c +++ b/src/ellinika/elmorph.c @@ -980,7 +980,6 @@ SCM_DEFINE_PUBLIC(scm_elstr__phonetic_map, "elstr->phonetic-map", tail = elt; } } - free(phmap); return head; } #undef FUNC_NAME -- cgit v1.2.1