| OLD | NEW |
| 1 /* pngerror.c - stub functions for i/o and memory allocation | 1 /* pngerror.c - stub functions for i/o and memory allocation |
| 2 * | 2 * |
| 3 * Last changed in libpng 1.6.1 [March 28, 2013] | 3 * Last changed in libpng 1.6.1 [March 28, 2013] |
| 4 * Copyright (c) 1998-2013 Glenn Randers-Pehrson | 4 * Copyright (c) 1998-2013 Glenn Randers-Pehrson |
| 5 * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) | 5 * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) |
| 6 * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) | 6 * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) |
| 7 * | 7 * |
| 8 * This code is released under the libpng license. | 8 * This code is released under the libpng license. |
| 9 * For conditions of distribution and use, see the disclaimer | 9 * For conditions of distribution and use, see the disclaimer |
| 10 * and license in png.h | 10 * and license in png.h |
| (...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 922 image->opaque->error_buf = saved_error_buf; | 922 image->opaque->error_buf = saved_error_buf; |
| 923 | 923 |
| 924 /* And do the cleanup prior to any failure return. */ | 924 /* And do the cleanup prior to any failure return. */ |
| 925 if (!result) | 925 if (!result) |
| 926 png_image_free(image); | 926 png_image_free(image); |
| 927 | 927 |
| 928 return result; | 928 return result; |
| 929 } | 929 } |
| 930 #endif /* SIMPLIFIED READ/WRITE */ | 930 #endif /* SIMPLIFIED READ/WRITE */ |
| 931 #endif /* PNG_READ_SUPPORTED || PNG_WRITE_SUPPORTED */ | 931 #endif /* PNG_READ_SUPPORTED || PNG_WRITE_SUPPORTED */ |
| OLD | NEW |