Changeset 177 for trunk/contrib/extractor/mpq_libmpq.h
- Timestamp:
- 11/19/08 13:43:30 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/contrib/extractor/mpq_libmpq.h
r2 r177 52 52 } 53 53 54 vector<string> GetFileList() { 55 vector<string> filelist; 56 54 void GetFileListTo(vector<string>& filelist) { 57 55 mpq_hash hash = GetHashEntry("(listfile)"); 58 56 uint32 blockindex = hash.blockindex; 59 57 60 58 if ((blockindex == 0xFFFFFFFF) || (blockindex == 0)) 61 return filelist;59 return; 62 60 63 61 uint32 size = libmpq_file_info(&mpq_a, LIBMPQ_FILE_UNCOMPRESSED_SIZE, blockindex); … … 80 78 } 81 79 82 delete buffer; 83 return filelist; 80 delete[] buffer; 84 81 } 85 82 };