Mercurial > libpst
comparison src/libpst.c @ 85:582e927756d3 stable-0-6-15
Patch from Robert Simpson for file handle leak in error case.
Fix for missing length on lz decompression, bug found by Chris White.
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 30 Jul 2008 22:01:52 -0700 |
parents | 56fa05fd5271 |
children | 3ec5ad97e926 |
comparison
equal
deleted
inserted
replaced
84:49b1d7a6b2b4 | 85:582e927756d3 |
---|---|
200 break; | 200 break; |
201 case INDEX_TYPE64 : | 201 case INDEX_TYPE64 : |
202 pf->do_read64 = 1; | 202 pf->do_read64 = 1; |
203 break; | 203 break; |
204 default: | 204 default: |
205 (void)fclose(pf->fp); | |
205 WARN(("unknown .pst format, possibly newer than Outlook 2003 PST file?\n")); | 206 WARN(("unknown .pst format, possibly newer than Outlook 2003 PST file?\n")); |
206 DEBUG_RET(); | 207 DEBUG_RET(); |
207 return -1; | 208 return -1; |
208 } | 209 } |
209 | 210 |