Commit bbde80f6 authored by Mouse's avatar Mouse

add check for (type_expr == NULL)

parent 41fd3226
......@@ -493,7 +493,7 @@ _asn1f_assign_cell_value(arg_t *arg, struct asn1p_ioc_cell_s *cell,
asn1p_delete(asn);
}
if(expr->reference &&
if(expr->reference && type_expr &&
!asn1f_lookup_symbol(arg, expr->rhs_pspecs, expr->reference)) {
asn1p_ref_free(expr->reference);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment