aboutsummaryrefslogtreecommitdiff
path: root/contrib/mips-msa/linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/mips-msa/linux.c')
-rw-r--r--contrib/mips-msa/linux.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/contrib/mips-msa/linux.c b/contrib/mips-msa/linux.c
index 140215c4e..3bac6111b 100644
--- a/contrib/mips-msa/linux.c
+++ b/contrib/mips-msa/linux.c
@@ -1,8 +1,9 @@
+
/* contrib/mips-msa/linux.c
*
+ * Copyright (c) 2020 Cosmin Truta
* Copyright (c) 2016 Glenn Randers-Pehrson
* Written by Mandar Sahastrabuddhe, 2016.
- * Last changed in libpng 1.6.25beta03 [August 29, 2016]
*
* This code is released under the libpng license.
* For conditions of distribution and use, see the disclaimer
@@ -47,8 +48,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);