X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=bindings%2Fruby%2Fdatabase.c;fp=bindings%2Fruby%2Fdatabase.c;h=ba9a1391a50918f25ca2d1bc5921c4907666e11b;hp=982fd592951679edc445ea44ee362ffc8933e680;hb=288feb7cdf1798408c708394fd935f05acf87985;hpb=22f73735c5d86cb10dc59ca536b9a73ade72eaea 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;