mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
mips: Fix initialization: always close "/proc/cpuinfo"
This commit is contained in:
parent
6842c58adc
commit
6c6f7d105a
@ -47,8 +47,10 @@ png_have_msa(png_structp png_ptr)
|
||||
|
||||
int val = strcmp(string, word);
|
||||
|
||||
if (val == 0)
|
||||
if (val == 0) {
|
||||
fclose(f);
|
||||
return 1;
|
||||
}
|
||||
|
||||
i = 0;
|
||||
memset(word, 0, 10);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user