This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU Mailutils".
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?id=fbcf481ed5816ccc2d84c9a0f0214f0c8c73f8c9 The branch, master has been updated via fbcf481ed5816ccc2d84c9a0f0214f0c8c73f8c9 (commit) via d2cfcacab2b99e8b727be4e94ac76248f992d2b1 (commit) from 6ff197ca52419567c123c4e9069e207ec55aadcb (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit fbcf481ed5816ccc2d84c9a0f0214f0c8c73f8c9 Author: Sergey Poznyakoff <g...@gnu.org> Date: Tue Aug 4 07:46:12 2015 +0300 Bugfix * pop3d/bulletin.c (read_bulletin_db): Fix memory/descriptor leak. commit d2cfcacab2b99e8b727be4e94ac76248f992d2b1 Author: Sergey Poznyakoff <g...@gnu.org> Date: Sat Jul 11 11:31:15 2015 +0300 Update NEWS ----------------------------------------------------------------------- Summary of changes: NEWS | 10 +++++----- pop3d/bulletin.c | 3 ++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/NEWS b/NEWS index 52dd05d..bd85c4d 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,4 @@ -GNU mailutils NEWS -- history of user-visible changes. 2015-07-02 +GNU mailutils NEWS -- history of user-visible changes. 2015-07-11 Copyright (C) 2002-2015 Free Software Foundation, Inc. See the end of file for copying conditions. @@ -9,8 +9,8 @@ Version 2.99.99 (Git) This version is a major rewrite of GNU Mailutils. Quite a few parts of the basic framework were rewritten from scratch, while some others -undergone a considerable revamping. The user documentation, at the -moment, is insufficient, and in some aspects even scarce. It is being +undergone a considerable revamping. The user documentation at the +moment is insufficient, and in some aspects even scarce. It is being worked upon. However, most of the utilities self-document themselves. To obtain a summary of available configuration statements for a given program, run `program --config-help'. For additional documentation, @@ -217,8 +217,8 @@ output is collected and included in the aliases. ** mailutils-config is deprecated. -Use `mu cflags' and `mu ldflags' instead. The mailutils-config is -rewritten as a wrapper over these commands. +Use `mailutils cflags' and `mailutils ldflags' instead. The +mailutils-config is rewritten as a wrapper over these commands. See <http://mailutils.org/wiki/mu> for more information. diff --git a/pop3d/bulletin.c b/pop3d/bulletin.c index 131a1c0..a5616eb 100644 --- a/pop3d/bulletin.c +++ b/pop3d/bulletin.c @@ -137,6 +137,7 @@ read_bulletin_db (size_t *pnum) rc = mu_dbm_safety_check (db); if (rc) { + mu_dbm_destroy (&db); if (rc == ENOENT) { *pnum = 0; @@ -145,7 +146,6 @@ read_bulletin_db (size_t *pnum) mu_diag_output (MU_DIAG_ERROR, _("bulletin db %s fails safety check: %s"), bulletin_db_name, mu_strerror (rc)); - mu_dbm_destroy (&db); return 1; } @@ -167,6 +167,7 @@ read_bulletin_db (size_t *pnum) if (rc == MU_ERR_NOENT) { + mu_dbm_destroy (&db); *pnum = 0; return 0; } hooks/post-receive -- GNU Mailutils _______________________________________________ Commit-mailutils mailing list Commit-mailutils@gnu.org https://lists.gnu.org/mailman/listinfo/commit-mailutils