Skip to content

Commit b88ea94

Browse files
committed
Fix leak
1 parent d26d2ce commit b88ea94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

programs/local/LocalChdb.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ query_result * connection_wrapper::query(const std::string & query_str, const st
346346
{
347347
throw std::runtime_error(result->error_message);
348348
}
349-
return new query_result(result, true);
349+
return new query_result(result, false);
350350
}
351351

352352
void cursor_wrapper::execute(const std::string & query_str)

0 commit comments

Comments
 (0)