Skip to content

Commit

Permalink
fix bookeeping errors
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrush committed Sep 29, 2016
1 parent 9f12b8d commit e024f09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/conduit/Node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13006,6 +13006,7 @@ Node::mmap(const std::string &stream_path, index_t data_size)
m_mmap = new MMap();
m_mmap->open(stream_path,data_size);
m_data = m_mmap->data_ptr();
m_data_size = data_size;
m_alloced = false;
m_mmaped = true;
}
Expand Down Expand Up @@ -13033,7 +13034,6 @@ Node::release()
{
// clean up our storage
free(m_data);
init_defaults();
m_data = NULL;
m_data_size = 0;
m_alloced = false;
Expand Down

0 comments on commit e024f09

Please sign in to comment.