public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: Christine Caulfield <chrissie@fedoraproject.org>
To: cluster-cvs-relay@redhat.com
Subject: master - cman: Fix find_handle leak
Date: Wed, 13 Aug 2008 11:56:00 -0000	[thread overview]
Message-ID: <20080813105621.8654A12002B@lists.fedorahosted.org> (raw)

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=f217d4b5da1c4a355583b4fdd8c1437cb556ba8c
Commit:        f217d4b5da1c4a355583b4fdd8c1437cb556ba8c
Parent:        1fdc0ceaf70ca3d65bda912f4af50f230610b14e
Author:        Christine Caulfield <ccaulfie@redhat.com>
AuthorDate:    Wed Aug 13 11:55:41 2008 +0100
Committer:     Christine Caulfield <ccaulfie@redhat.com>
CommitterDate: Wed Aug 13 11:55:41 2008 +0100

cman: Fix find_handle leak

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
---
 cman/daemon/cman-preconfig.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/cman/daemon/cman-preconfig.c b/cman/daemon/cman-preconfig.c
index a5bfcbe..c829596 100644
--- a/cman/daemon/cman-preconfig.c
+++ b/cman/daemon/cman-preconfig.c
@@ -376,6 +376,7 @@ static int verify_nodename(struct objdb_iface_ver0 *objdb, char *nodename)
 		}
 		nodes_handle = nodeslist_next(objdb, find_handle);
 	} while (nodes_handle);
+	objdb->object_find_destroy(find_handle);
 
 
 	/* The cluster.conf names may not be related to uname at all,


                 reply	other threads:[~2008-08-13 10:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080813105621.8654A12002B@lists.fedorahosted.org \
    --to=chrissie@fedoraproject.org \
    --cc=cluster-cvs-relay@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).