remove namespace leak

This commit is contained in:
Lev Walkin 2017-09-26 18:07:50 -07:00
parent ed409e2b75
commit 42457fe974
1 changed files with 1 additions and 0 deletions

View File

@ -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; \