diff options
author | Lev Walkin <vlm@lionet.info> | 2017-09-26 18:07:50 -0700 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2017-09-26 18:07:50 -0700 |
commit | 42457fe974a74105094827d79c3c853e55913d5e (patch) | |
tree | e45137707343765f1b10552fdd182b8dbd2ffc40 /libasn1fix | |
parent | ed409e2b754b839db77c7fc04cceb3eecea2ce6d (diff) |
remove namespace leak
Diffstat (limited to 'libasn1fix')
-rw-r--r-- | libasn1fix/asn1fix_internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libasn1fix/asn1fix_internal.h b/libasn1fix/asn1fix_internal.h index 2d22d304..4e13293a 100644 --- a/libasn1fix/asn1fix_internal.h +++ b/libasn1fix/asn1fix_internal.h @@ -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; \ |