Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ add_library(core
src/utils.cpp
src/schema.cpp
src/arrow_utils.cpp
src/types.cpp
)

target_include_directories(core
Expand Down
4 changes: 2 additions & 2 deletions include/node_arena.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class NodeArena {

// Deallocate the string if it's not null
if (!str_ref->is_null()) {
string_arena_->deallocate_string(*str_ref);
string_arena_->mark_for_deletion(*str_ref);
}
}
}
Expand Down Expand Up @@ -190,7 +190,7 @@ class NodeArena {
// Logger::get_instance().debug("deallocate old string: {}",
// old_str_ref.to_string());
if (!old_str_ref.is_null()) {
string_arena_->deallocate_string(old_str_ref);
string_arena_->mark_for_deletion(old_str_ref);
}
} catch (...) {
// Old value wasn't a StringRef, ignore
Expand Down
Loading