diff --git a/src/x509.c b/src/x509.c index 07635ba..e9f036c 100644 --- a/src/x509.c +++ b/src/x509.c @@ -371,6 +371,7 @@ int meth_extensions(lua_State* L) /* not supported */ break; } + GENERAL_NAME_free(general_name); } sk_GENERAL_NAME_free(values); lua_pop(L, 1); /* ret[oid] */