Fix memory leak in meth_extensions

This commit is contained in:
Jonas Schäfer 2018-11-19 16:00:30 +01:00
parent 0775d5744f
commit 81c38864d4

View File

@ -372,6 +372,7 @@ int meth_extensions(lua_State* L)
break; break;
} }
} }
sk_GENERAL_NAME_free(values);
lua_pop(L, 1); /* ret[oid] */ lua_pop(L, 1); /* ret[oid] */
i++; /* Next extension */ i++; /* Next extension */
} }