aboutsummaryrefslogtreecommitdiffstats
path: root/libasn1parser/asn1p_module.c
diff options
context:
space:
mode:
Diffstat (limited to 'libasn1parser/asn1p_module.c')
-rw-r--r--libasn1parser/asn1p_module.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libasn1parser/asn1p_module.c b/libasn1parser/asn1p_module.c
index 29cf683a..e7afb056 100644
--- a/libasn1parser/asn1p_module.c
+++ b/libasn1parser/asn1p_module.c
@@ -29,8 +29,7 @@ asn1p_module_free(asn1p_module_t *mod) {
free(mod->ModuleName);
- if(mod->module_oid)
- asn1p_oid_free(mod->module_oid);
+ asn1p_oid_free(mod->module_oid);
while((expr = TQ_REMOVE(&(mod->members), next)))
asn1p_expr_free(expr);