mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 21:58:22 +01:00
fix warning on MSVC
'function' : different 'const' qualifiers Change-Id: I855e94e8734a7e9a6156c771a7bad41b19a450d7
This commit is contained in:
parent
a7f93fe32d
commit
8bebd2a32e
@ -528,7 +528,7 @@ static void DeleteConfig(Config* const config) {
|
|||||||
if (config != NULL) {
|
if (config != NULL) {
|
||||||
free(config->args_);
|
free(config->args_);
|
||||||
if (config->own_argv_) {
|
if (config->own_argv_) {
|
||||||
free(config->argv_);
|
free((void*)config->argv_);
|
||||||
WebPDataClear(&config->argv_data_);
|
WebPDataClear(&config->argv_data_);
|
||||||
}
|
}
|
||||||
memset(config, 0, sizeof(*config));
|
memset(config, 0, sizeof(*config));
|
||||||
|
Loading…
Reference in New Issue
Block a user