Commit 42457fe9 authored by Lev Walkin's avatar Lev Walkin

remove namespace leak

parent ed409e2b
...@@ -105,6 +105,7 @@ typedef struct arg_s { ...@@ -105,6 +105,7 @@ typedef struct arg_s {
arg->mod = tmp_mod; \ arg->mod = tmp_mod; \
arg->ns = asn1_namespace_new_from_module(tmp_mod, 1); \ arg->ns = asn1_namespace_new_from_module(tmp_mod, 1); \
typeof(code) ret = code; \ typeof(code) ret = code; \
asn1_namespace_free(arg->ns); \
arg->ns = _saved_ns; \ arg->ns = _saved_ns; \
arg->mod = _saved_mod; \ arg->mod = _saved_mod; \
ret; \ ret; \
......
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