diff options
Diffstat (limited to 'src/Common/libzip/zip_fclose.c')
-rw-r--r-- | src/Common/libzip/zip_fclose.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Common/libzip/zip_fclose.c b/src/Common/libzip/zip_fclose.c index 25a201b1..be98cc0c 100644 --- a/src/Common/libzip/zip_fclose.c +++ b/src/Common/libzip/zip_fclose.c @@ -17,7 +17,7 @@ 3. The names of the authors may not be used to endorse or promote products derived from this software without specific prior written permission. - + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE @@ -38,10 +38,9 @@ ZIP_EXTERN int -zip_fclose(zip_file_t *zf) -{ +zip_fclose(zip_file_t *zf) { int ret; - + if (zf->src) zip_source_free(zf->src); |