Skip to content

Commit

Permalink
Fix #2686 (#2693)
Browse files Browse the repository at this point in the history
  • Loading branch information
StasJ committed Apr 5, 2021
1 parent aeb2ae3 commit 117aeef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/vaporgui/Histo.cpp
Expand Up @@ -261,6 +261,7 @@ int Histo::Populate(const std::string &varName, VAPoR::DataMgr *dm, VAPoR::Rende
calculateMaxBinSize();
_populated = true;

dm->UnlockGrid(grid);
delete grid;
return 0;
}
Expand Down
1 change: 1 addition & 0 deletions lib/render/SliceRenderer.cpp
Expand Up @@ -351,6 +351,7 @@ int SliceRenderer::_saveTextureData()
_createDataTexture(dataValues);

delete[] dataValues;
_dataMgr->UnlockGrid(grid);
delete grid;
grid = nullptr;

Expand Down

0 comments on commit 117aeef

Please sign in to comment.