We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fc8dd7 commit 10b6821Copy full SHA for 10b6821
src/utils/xrCompress/xrCompress.cpp
@@ -339,7 +339,6 @@ void xrCompressor::OpenPack(LPCSTR tgt_folder, int num)
339
_unlink(fname);
340
fs_pack_writer = FS.w_open(fname);
341
fs_desc.clear();
342
- aliases.clear();
343
344
bytesSRC = 0;
345
bytesDST = 0;
@@ -419,6 +418,10 @@ void xrCompressor::ClosePack()
419
418
100.f * float(bytesDST) / float(bytesSRC), ((dwTimeEnd - dwTimeStart) / 1000) / 60,
420
((dwTimeEnd - dwTimeStart) / 1000) % 60,
421
float((float(bytesDST) / float(1024 * 1024)) / (t_compress.GetElapsed_sec())));
+
422
+ for (auto &it : aliases)
423
+ xr_free(it.second.path);
424
+ aliases.clear();
425
}
426
427
void xrCompressor::PerformWork()
0 commit comments