Skip to content

Commit

Permalink
fix typo (#697)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangfenjin authored Mar 18, 2023
1 parent 06f51ae commit 4a688f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,6 @@ wheelhouse
target
Cargo.lock
data

# c++ lsp
.ccls-cache/
2 changes: 1 addition & 1 deletion integration/duckdb_lance/duckdb-ext/src/value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl From<duckdb_value> for Value {

impl Drop for Value {
fn drop(&mut self) {
if self.ptr.is_null() {
if !self.ptr.is_null() {
unsafe {
duckdb_destroy_value(&mut self.ptr);
}
Expand Down

0 comments on commit 4a688f6

Please sign in to comment.