Fix memory leak

This commit is contained in:
Bruno Silvestre 2019-08-16 10:15:42 -03:00
parent 041a37874b
commit dcd385e615

View File

@ -371,6 +371,7 @@ int meth_extensions(lua_State* L)
/* not supported */ /* not supported */
break; break;
} }
GENERAL_NAME_free(general_name);
} }
sk_GENERAL_NAME_free(values); sk_GENERAL_NAME_free(values);
lua_pop(L, 1); /* ret[oid] */ lua_pop(L, 1); /* ret[oid] */