mirror of https://gerrit.osmocom.org/asn1c
remove namespace leak
This commit is contained in:
parent
ed409e2b75
commit
42457fe974
|
@ -105,6 +105,7 @@ typedef struct arg_s {
|
|||
arg->mod = tmp_mod; \
|
||||
arg->ns = asn1_namespace_new_from_module(tmp_mod, 1); \
|
||||
typeof(code) ret = code; \
|
||||
asn1_namespace_free(arg->ns); \
|
||||
arg->ns = _saved_ns; \
|
||||
arg->mod = _saved_mod; \
|
||||
ret; \
|
||||
|
|
Loading…
Reference in New Issue