From: <bor...@us...> - 2023-03-23 12:07:11
|
Revision: 3801 http://sourceforge.net/p/ftm/code/3801 Author: borghesi Date: 2023-03-23 12:07:08 +0000 (Thu, 23 Mar 2023) Log Message: ----------- fmat: fixed windows crash in _fmat_fill_varargs Modified Paths: -------------- trunk/ftm/ftmlib/classes/fmat.c Modified: trunk/ftm/ftmlib/classes/fmat.c =================================================================== --- trunk/ftm/ftmlib/classes/fmat.c 2023-03-22 15:39:04 UTC (rev 3800) +++ trunk/ftm/ftmlib/classes/fmat.c 2023-03-23 12:07:08 UTC (rev 3801) @@ -1965,6 +1965,8 @@ fts_atom_t *col_ptr; int i, j; + fts_set_void(&ret); + expr_lock(expr); fts_hashtable_init(&locals, FTS_HASHTABLE_SMALL); @@ -1988,7 +1990,7 @@ { fts_set_int(col_ptr, j); - fts_atom_void(&ret); + fts_atom_void(&ret); expr_evaluate(expr, &locals, ac - 1, at + 1, &ret); if(fts_is_number(&ret)) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |