Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C153D200B85 for ; Thu, 15 Sep 2016 19:43:02 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BFD5E160AC6; Thu, 15 Sep 2016 17:43:02 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3A75C160ABA for ; Thu, 15 Sep 2016 19:43:02 +0200 (CEST) Received: (qmail 67894 invoked by uid 500); 15 Sep 2016 17:43:01 -0000 Mailing-List: contact commits-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list commits@qpid.apache.org Received: (qmail 67885 invoked by uid 99); 15 Sep 2016 17:43:01 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2016 17:43:01 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 54557E0105; Thu, 15 Sep 2016 17:43:01 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: aconway@apache.org To: commits@qpid.apache.org Message-Id: <5fbaac3b0bc44de5a69795436feb7806@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: qpid-proton git commit: PROTON-1301: Fix leak in c-condition-test. Date: Thu, 15 Sep 2016 17:43:01 +0000 (UTC) archived-at: Thu, 15 Sep 2016 17:43:02 -0000 Repository: qpid-proton Updated Branches: refs/heads/master 258f90ec8 -> 0e768cd35 PROTON-1301: Fix leak in c-condition-test. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/0e768cd3 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/0e768cd3 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/0e768cd3 Branch: refs/heads/master Commit: 0e768cd3522d0baf0f7f1ba4226d6816572aff4a Parents: 258f90e Author: Alan Conway Authored: Thu Sep 15 12:26:29 2016 -0500 Committer: Alan Conway Committed: Thu Sep 15 12:26:29 2016 -0500 ---------------------------------------------------------------------- proton-c/src/tests/condition.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/0e768cd3/proton-c/src/tests/condition.c ---------------------------------------------------------------------- diff --git a/proton-c/src/tests/condition.c b/proton-c/src/tests/condition.c index b7d63be..5ecc263 100644 --- a/proton-c/src/tests/condition.c +++ b/proton-c/src/tests/condition.c @@ -51,6 +51,6 @@ int main(int argc, char **argv) { TEST_ASSERT(!pn_condition_get_name(cond)); TEST_ASSERT(!pn_condition_get_description(cond)); - pn_connection_release(c); + pn_connection_free(c); return fail; } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org For additional commands, e-mail: commits-help@qpid.apache.org