aboutsummaryrefslogtreecommitdiffhomepage
path: root/bindings/ruby/database.c
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/ruby/database.c')
-rw-r--r--bindings/ruby/database.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/ruby/database.c b/bindings/ruby/database.c
index 982fd592..ba9a1391 100644
--- a/bindings/ruby/database.c
+++ b/bindings/ruby/database.c
@@ -110,7 +110,7 @@ notmuch_rb_database_close (VALUE self)
notmuch_database_t *db;
Data_Get_Notmuch_Database (self, db);
- notmuch_database_close (db);
+ notmuch_database_destroy (db);
DATA_PTR (self) = NULL;
return Qnil;