diff options
-rw-r--r-- | src/lua/lua_task.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index 1fbf988a9..4a6040145 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -4791,7 +4791,7 @@ lua_task_process_ann_tokens (lua_State *L) gdouble norm_score; - if (!isnan (sres->sym->score)) { + if (sres->sym && !isnan (sres->sym->score)) { if (sres->sym->score == 0) { if (sres->score == 0) { |