From patchwork Fri Dec 11 18:53:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrea Claudi X-Patchwork-Id: 11969411 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6F194C4361B for ; Fri, 11 Dec 2020 20:40:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1F7FD23BCD for ; Fri, 11 Dec 2020 20:40:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390036AbgLKSzj (ORCPT ); Fri, 11 Dec 2020 13:55:39 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:32287 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389331AbgLKSyq (ORCPT ); Fri, 11 Dec 2020 13:54:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1607712797; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=PeLsa0BdFiUfLgPwx0Dy2vwu1H95KYmRhAb+IAaRENc=; b=VegkSa5VL28UrIhNd/1A09S7bi5/56VZMMH3NIe2ntIOhJk3mJJeQj/veNKMhhg+nr+n+P FKFLNVPEwZFk3dqkjXwM+R+CnNnKIXL+vrFC7lytPUZdgKhJoJ8Kvis89DRkp1EErvZjXW Cw9RLvIceNXMtXKGAuNmTW1NLPtZb38= 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-61-NVV4DT9lMa-xKELP2IJsDg-1; Fri, 11 Dec 2020 13:53:15 -0500 X-MC-Unique: NVV4DT9lMa-xKELP2IJsDg-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 83447107AD4F; Fri, 11 Dec 2020 18:53:14 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-114-11.ams2.redhat.com [10.36.114.11]) by smtp.corp.redhat.com (Postfix) with ESMTP id A6E2D60BE5; Fri, 11 Dec 2020 18:53:13 +0000 (UTC) From: Andrea Claudi To: netdev@vger.kernel.org Cc: stephen@networkplumber.org, dsahern@gmail.com Subject: [PATCH iproute2 0/2] fix two memory leaks Date: Fri, 11 Dec 2020 19:53:01 +0100 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: dsahern@gmail.com This series fixes two memory leaks in iproute2, in tc and devlink code. Andrea Claudi (2): devlink: fix memory leak in cmd_dev_flash() tc: pedit: fix memory leak in print_pedit devlink/devlink.c | 13 ++++++++----- tc/m_pedit.c | 4 +++- 2 files changed, 11 insertions(+), 6 deletions(-)