Those methods were already checking if the underlying C object was NULL,
but they were not setting the pointer to NULL after destroying it.
---
bindings/go/src/notmuch/notmuch.go |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/bindings/go/src/notmuch/notmuch.go
b/bin
Those methods were already checking if the underlying C object was NULL,
but they were not setting the pointer to NULL after destroying it.
---
bindings/go/src/notmuch/notmuch.go |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/bindings/go/src/notmuch/notmuch.go
b/bin