this is the fix!!!!!
This commit is contained in:
marauder2k7 2023-07-25 12:15:53 +01:00
parent f452ea9823
commit b97c8fc980
2 changed files with 5 additions and 9 deletions

View file

@ -19,7 +19,7 @@ jobs:
runs-on: ${{matrix.os}} runs-on: ${{matrix.os}}
strategy: strategy:
matrix: matrix:
os: [ ubuntu-latest ] os: [ ubuntu-latest, macos-latest, windows-latest ]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3

View file

@ -90,12 +90,8 @@ void DataChunker::freeBlocks(bool keepOne)
dFree(mCurBlock); dFree(mCurBlock);
mCurBlock = temp; mCurBlock = temp;
} }
if (!keepOne)
{ if (mCurBlock)
if (mCurBlock) dFree(mCurBlock);
mCurBlock = NULL;
}
else if (mCurBlock)
{ {
mCurBlock->curIndex = 0; mCurBlock->curIndex = 0;
mCurBlock->next = NULL; mCurBlock->next = NULL;