Message ID | 1580929100-32572-5-git-send-email-bmarzins@redhat.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Delegated to: | christophe varoqui |
Headers | show
Return-Path: <SRS0=wLrA=3Z=redhat.com=dm-devel-bounces@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 09910921 for <patchwork-dm-devel@patchwork.kernel.org>; Wed, 5 Feb 2020 18:58:37 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BAB60214AF for <patchwork-dm-devel@patchwork.kernel.org>; Wed, 5 Feb 2020 18:58:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="VpS8cirn" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BAB60214AF Authentication-Results: mail.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dm-devel-bounces@redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1580929115; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=d3P0CCcdkZlCRsx+agppFxuGueoXvKpWrNN7Goo1Gio=; b=VpS8cirnjPx31c2y9gBEOoLNz5XXhvyJjo3YVjMIMkRGAnaab6jpr1WC3sNgCF8TyiqPVK LI7+ai7F/tY+noe+Sjm95h0JuQO4+WSFfSINTTQGvNZdE8uFhKQzImujDi530obu+/7t9i oex9LGjXZRbvF4lygqPUSTpZ8/zy8Mk= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-82-4IIAunAcM82fV6uvCy4BkA-1; Wed, 05 Feb 2020 13:58:32 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 93D8F1007EEE; Wed, 5 Feb 2020 18:58:28 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6EC6E790D8; Wed, 5 Feb 2020 18:58:28 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 3BFE61803C33; Wed, 5 Feb 2020 18:58:28 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 015IwRBf019381 for <dm-devel@listman.util.phx.redhat.com>; Wed, 5 Feb 2020 13:58:27 -0500 Received: by smtp.corp.redhat.com (Postfix) id 685515C3F8; Wed, 5 Feb 2020 18:58:27 +0000 (UTC) Delivered-To: dm-devel@redhat.com Received: from octiron.msp.redhat.com (octiron.msp.redhat.com [10.15.80.209]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 53AEF5C1B5; Wed, 5 Feb 2020 18:58:27 +0000 (UTC) Received: from octiron.msp.redhat.com (localhost.localdomain [127.0.0.1]) by octiron.msp.redhat.com (8.14.9/8.14.9) with ESMTP id 015IwQQH032630; Wed, 5 Feb 2020 12:58:26 -0600 Received: (from bmarzins@localhost) by octiron.msp.redhat.com (8.14.9/8.14.9/Submit) id 015IwPhl032629; Wed, 5 Feb 2020 12:58:25 -0600 From: Benjamin Marzinski <bmarzins@redhat.com> To: Christophe Varoqui <christophe.varoqui@opensvc.com> Date: Wed, 5 Feb 2020 12:58:07 -0600 Message-Id: <1580929100-32572-5-git-send-email-bmarzins@redhat.com> In-Reply-To: <1580929100-32572-1-git-send-email-bmarzins@redhat.com> References: <1580929100-32572-1-git-send-email-bmarzins@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: dm-devel@redhat.com Cc: device-mapper development <dm-devel@redhat.com>, Martin Wilck <Martin.Wilck@suse.com> Subject: [dm-devel] [PATCH v2 04/17] Fix leak in mpathpersist X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development <dm-devel.redhat.com> List-Unsubscribe: <https://www.redhat.com/mailman/options/dm-devel>, <mailto:dm-devel-request@redhat.com?subject=unsubscribe> List-Archive: <https://www.redhat.com/archives/dm-devel> List-Post: <mailto:dm-devel@redhat.com> List-Help: <mailto:dm-devel-request@redhat.com?subject=help> List-Subscribe: <https://www.redhat.com/mailman/listinfo/dm-devel>, <mailto:dm-devel-request@redhat.com?subject=subscribe> MIME-Version: 1.0 Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-MC-Unique: 4IIAunAcM82fV6uvCy4BkA-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
Series |
Multipath patch dump
|
expand
|
diff --git a/mpathpersist/main.c b/mpathpersist/main.c index 278b8d51..920e686c 100644 --- a/mpathpersist/main.c +++ b/mpathpersist/main.c @@ -499,6 +499,7 @@ static int handle_args(int argc, char * argv[], int nline) if (ret != MPATH_PR_SUCCESS ) { fprintf (stderr, "Persistent Reserve IN command failed\n"); + free(resp); goto out_fd; }