forked from loafle/openapi-generator-original
Update the condition to free apiClient->apiKeys (#4685)
This commit is contained in:
parent
7eeeab0825
commit
01e84d79a0
@ -50,7 +50,7 @@ void apiClient_free(apiClient_t *apiClient) {
|
|||||||
}
|
}
|
||||||
{{/isOAuth}}
|
{{/isOAuth}}
|
||||||
{{#isApiKey}}
|
{{#isApiKey}}
|
||||||
if(apiClient->accessToken) {
|
if(apiClient->apiKeys) {
|
||||||
list_free(apiClient->apiKeys);
|
list_free(apiClient->apiKeys);
|
||||||
}
|
}
|
||||||
{{/isApiKey}}
|
{{/isApiKey}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user