| OLD | NEW | 
|---|
| 1 | 1 | 
| 2 /* pngerror.c - stub functions for i/o and memory allocation | 2 /* pngerror.c - stub functions for i/o and memory allocation | 
| 3  * | 3  * | 
| 4  * Last changed in libpng 1.6.15 [November 20, 2014] | 4  * Last changed in libpng 1.6.15 [November 20, 2014] | 
| 5  * Copyright (c) 1998-2014 Glenn Randers-Pehrson | 5  * Copyright (c) 1998-2014 Glenn Randers-Pehrson | 
| 6  * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) | 6  * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) | 
| 7  * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) | 7  * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) | 
| 8  * | 8  * | 
| 9  * This code is released under the libpng license. | 9  * This code is released under the libpng license. | 
| 10  * For conditions of distribution and use, see the disclaimer | 10  * For conditions of distribution and use, see the disclaimer | 
| (...skipping 943 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 954    image->opaque->error_buf = saved_error_buf; | 954    image->opaque->error_buf = saved_error_buf; | 
| 955 | 955 | 
| 956    /* And do the cleanup prior to any failure return. */ | 956    /* And do the cleanup prior to any failure return. */ | 
| 957    if (result == 0) | 957    if (result == 0) | 
| 958       png_image_free(image); | 958       png_image_free(image); | 
| 959 | 959 | 
| 960    return result; | 960    return result; | 
| 961 } | 961 } | 
| 962 #endif /* SIMPLIFIED READ || SIMPLIFIED_WRITE */ | 962 #endif /* SIMPLIFIED READ || SIMPLIFIED_WRITE */ | 
| 963 #endif /* READ || WRITE */ | 963 #endif /* READ || WRITE */ | 
| OLD | NEW | 
|---|