Commit d594771c authored by Lev Walkin's avatar Lev Walkin

there can be no identifier

parent a895afba
......@@ -134,6 +134,7 @@ asn1f_parametrize(arg_t *arg, asn1p_expr_t *expr, asn1p_expr_t *ptype) {
* Cleanup the new expression so there is no ptype-related
* stuff hanging around.
*/
if(expr->Identifier) {
p = strdup(expr->Identifier);
if(p) {
free(nex->Identifier);
......@@ -142,6 +143,7 @@ asn1f_parametrize(arg_t *arg, asn1p_expr_t *expr, asn1p_expr_t *ptype) {
asn1p_expr_free(nex);
return -1;
}
}
asn1p_paramlist_free(nex->params);
nex->params = NULL;
nex->meta_type = expr->meta_type;
......
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