From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6OQ0OrUMdGGRjwAAgWs5BA (envelope-from ) for ; Sat, 23 Oct 2021 15:23:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id OOPbNbUMdGGtJQAA1q6Kng (envelope-from ) for ; Sat, 23 Oct 2021 13:23:01 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9330B8090 for ; Sat, 23 Oct 2021 15:23:01 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id DD5D62C1C3; Sat, 23 Oct 2021 09:22:55 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 29BAE2C1B0 for ; Sat, 23 Oct 2021 09:22:53 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id 09F065FC42; Sat, 23 Oct 2021 09:22:53 -0400 (EDT) Received: (nullmailer pid 1864470 invoked by uid 1000); Sat, 23 Oct 2021 13:22:51 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: Clean up de-allocation / nulling of notmuch database structure Date: Sat, 23 Oct 2021 10:22:32 -0300 Message-Id: <20211023132238.1864400-1-david@tethera.net> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Message-ID-Hash: 2C37LACVGBNLCGUM2HCSM7SJBSEJPV3C X-Message-ID-Hash: 2C37LACVGBNLCGUM2HCSM7SJBSEJPV3C X-MailFrom: bremner@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634995381; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=ZQOVMK3RELPojkNlTgcEuc9nrZUTPEolPCuDAeVg5xs=; b=CGM0uSyIXXres5NtB99YdU8Jy8oVFjeGXz0aZptRiaI3FwuyaGrm+V+caHAA6qyjDSPtz9 Hq2v8QCHd/rmo19RrXoy7673zNKQtfugwRlDzFrNsQPF8yKdGDLM3OxyRvR/ZKH4DnB4KB TWuuw1AU609Vp2pijlj1vq/4zCA1LC+flKhySd3LU4ZvXbEAf3i9tEFDnxsYA06upRfEfm pi2b5Gsd/SCzLjdus1nZ9iXSPIfZWfeTRGnXElTarn5ClcF3Hry1QkV/uCEBpHw3+ZMB5S rBKGGgWT/cRhRa2eJjsi09r2O6OTNQP47d/KHH+13gKJd0bpy3x6M3karcA6GQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634995381; a=rsa-sha256; cv=none; b=AN5nONI5Pben9gE8Mqt55bSAMPtXL10VBMSPvVg1Dv4l1huCzg3h7p7YWjyGzNlNuAxO+9 ihaypSboPRK/Sg0nvX4Dspvo9/8nqAje2G/AC9H7ekyXauZgfGmjQ6C9YUWhP6wBTSnO+7 a4NmHjSo9fm+lZjlbUArT7iWeNdh9dl6BpLiOYK6IK4eCBJ5Q0yugWQ21zbtiyi2czeQQm uvPWFEmTWOsNod4SUKhNojIhwTg2NHjnM3z4ArFEDdpf6flMX0iJhNRkxsLiy035pJgPOk mJIPSRg/w2oPZ/8/AVRjAFrcgVqz+kwaHZX46WwXIyE/dN+GpRwtKGzjKojB/g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -1.15 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 9330B8090 X-Spam-Score: -1.15 X-Migadu-Scanner: scn1.migadu.com X-TUID: I8v9pRYP773i Notmuch 0.32 introduced some bugs in the handling of the notmuch_database_t output parameters. We didn't see them in the notmuch CLI, but they caused some crashes for neomutt. This series attempts to clean up those problems. I plan to do a point release with this series on top of 0.34.