mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-10 23:32:45 +00:00
Update the condition to free apiClient->apiKeys (#4685)
This commit is contained in:
@@ -50,7 +50,7 @@ void apiClient_free(apiClient_t *apiClient) {
|
||||
}
|
||||
{{/isOAuth}}
|
||||
{{#isApiKey}}
|
||||
if(apiClient->accessToken) {
|
||||
if(apiClient->apiKeys) {
|
||||
list_free(apiClient->apiKeys);
|
||||
}
|
||||
{{/isApiKey}}
|
||||
|
||||
Reference in New Issue
Block a user