mirror of
https://github.com/brunoos/luasec.git
synced 2024-11-08 06:28:26 +01:00
Fix memory leak
This commit is contained in:
parent
de63f21f63
commit
8dafea410f
@ -371,7 +371,9 @@ 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] */
|
||||
i++; /* Next extension */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user