Fix memory leak in format_date.

This commit is contained in:
mainzelm 2003-10-13 09:52:30 +00:00
parent 1521521116
commit 1f1081b8bf
1 changed files with 1 additions and 0 deletions

View File

@ -413,6 +413,7 @@ s48_value format_date(s48_value sch_fmt, s48_value sch_sec, s48_value sch_min,
#endif
sch_ans = s48_enter_string(target);
Free(fmt2);
Free(target);
if( oldenv ) revert_env(oldenv);
return sch_ans;