mirror of https://gerrit.osmocom.org/asn1c
there can be no identifier
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@988 59561ff5-6e30-0410-9f3c-9617f08c8826
This commit is contained in:
parent
11bea88ef9
commit
746af0022d
|
@ -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
|
* Cleanup the new expression so there is no ptype-related
|
||||||
* stuff hanging around.
|
* stuff hanging around.
|
||||||
*/
|
*/
|
||||||
|
if(expr->Identifier) {
|
||||||
p = strdup(expr->Identifier);
|
p = strdup(expr->Identifier);
|
||||||
if(p) {
|
if(p) {
|
||||||
free(nex->Identifier);
|
free(nex->Identifier);
|
||||||
|
@ -142,6 +143,7 @@ asn1f_parametrize(arg_t *arg, asn1p_expr_t *expr, asn1p_expr_t *ptype) {
|
||||||
asn1p_expr_free(nex);
|
asn1p_expr_free(nex);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
asn1p_paramlist_free(nex->params);
|
asn1p_paramlist_free(nex->params);
|
||||||
nex->params = NULL;
|
nex->params = NULL;
|
||||||
nex->meta_type = expr->meta_type;
|
nex->meta_type = expr->meta_type;
|
||||||
|
|
Loading…
Reference in New Issue