Skip to content

Commit

Permalink
Fix leak
Browse files Browse the repository at this point in the history
  • Loading branch information
auxten committed Feb 12, 2025
1 parent d26d2ce commit b88ea94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/local/LocalChdb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ query_result * connection_wrapper::query(const std::string & query_str, const st
{
throw std::runtime_error(result->error_message);
}
return new query_result(result, true);
return new query_result(result, false);
}

void cursor_wrapper::execute(const std::string & query_str)
Expand Down

0 comments on commit b88ea94

Please sign in to comment.