get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/94301/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 94301,
    "url": "https://patches.dpdk.org/api/patches/94301/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210616162453.349614-1-ohilyard@iol.unh.edu/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20210616162453.349614-1-ohilyard@iol.unh.edu>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210616162453.349614-1-ohilyard@iol.unh.edu",
    "date": "2021-06-16T16:24:52",
    "name": "tests/test_eal_flags: fix memory leak",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "64c8e36def0312dbf5d5b42ebe695c226ba3f827",
    "submitter": {
        "id": 1829,
        "url": "https://patches.dpdk.org/api/people/1829/?format=api",
        "name": "Owen Hilyard",
        "email": "ohilyard@iol.unh.edu"
    },
    "delegate": {
        "id": 24651,
        "url": "https://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210616162453.349614-1-ohilyard@iol.unh.edu/mbox/",
    "series": [
        {
            "id": 17360,
            "url": "https://patches.dpdk.org/api/series/17360/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=17360",
            "date": "2021-06-16T16:24:52",
            "name": "tests/test_eal_flags: fix memory leak",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/17360/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/94301/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/94301/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 88A7FA0548;\n\tWed, 16 Jun 2021 18:24:57 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 22E184067A;\n\tWed, 16 Jun 2021 18:24:57 +0200 (CEST)",
            "from mail-pg1-f228.google.com (mail-pg1-f228.google.com\n [209.85.215.228])\n by mails.dpdk.org (Postfix) with ESMTP id 4610440140\n for <dev@dpdk.org>; Wed, 16 Jun 2021 18:24:56 +0200 (CEST)",
            "by mail-pg1-f228.google.com with SMTP id v7so2422824pgl.2\n for <dev@dpdk.org>; Wed, 16 Jun 2021 09:24:56 -0700 (PDT)",
            "from postal.iol.unh.edu (postal.iol.unh.edu.\n [2606:4100:3880:1234::84])\n by smtp-relay.gmail.com with ESMTPS id bj23sm2445164pjb.1.2021.06.16.09.24.55\n (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);\n Wed, 16 Jun 2021 09:24:55 -0700 (PDT)",
            "from iol.unh.edu (unknown\n [IPv6:2606:4100:3880:1220:5e2f:685e:142b:54c3])\n by postal.iol.unh.edu (Postfix) with ESMTP id 9C05B605246B;\n Wed, 16 Jun 2021 12:24:54 -0400 (EDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu;\n s=unh-iol;\n h=from:to:cc:subject:date:message-id:mime-version\n :content-transfer-encoding;\n bh=Qb8+XFFqZzWIaSS/gXqPp9VV1SjMUn0CINgUZR+wIzU=;\n b=QqYZB4FgFsq2Ce1U3YWdqKOZsvt0BdXZPFz9fX8YsaTPH3SazBARhqqj7GYdSZhfy1\n G7UnSV+Asuywdrd+8n+qpb2w/XbrYSFDcJ7+b/euIA3ezSSgPp4tY+fBqtn4ZL9CZ9Oy\n c6M8tW0PKn+ZySd/uUSid05tvxqyyOSBIiHvc=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n :content-transfer-encoding;\n bh=Qb8+XFFqZzWIaSS/gXqPp9VV1SjMUn0CINgUZR+wIzU=;\n b=WBu5+5fngT9jhjRxv40LYH/kBVIHa5Wc62mIxfQz/fmqfanYFTamxErgbMA4KWF7rq\n hyDIyRJSGN+jaALs1rbsRnkmW8C3WsBsDAE5cmRzhmX9tbveivZbZ6cTiccj6Nz98N6O\n f0t8yT+UIfvOKFzHEdftVpe3IG6SBihbeRI4acHPIpckxFgOyY8eknlorRQFrztEVdbI\n O1WMvRyAyvkTdFBhXt27Kd1uUZDMdKSKIRJ6B2A1CiveDr8Q/6CpdRH8jzdwWsE7/ISH\n nlzTCPDCXib8Yv76uesVpqaWGDtsL1AN9bCajZ11RKD8SA+8Qsv4e8oB1Df25Yk0olHt\n Ywwg==",
        "X-Gm-Message-State": "AOAM530wZSHpAUMTCk0CfrxLeMQCFxM8VKheREqP5lypjoNqsu3aGpPt\n mfq6X6o31jD0FZNQdK9WuENgWdqtNjpJoeobP1u0eO/lYgVzW2rHwKt4J3CJlcPY6EL0JS4T1Tb\n /OskADkfWrYweXOtNVA87J1+PVkN8STw+pOTw+BdLPn70TLl8PZTdBrgRGuc2htvXbFYDxCzR4E\n A0aEz8btqj7EfwZg==",
        "X-Google-Smtp-Source": "\n ABdhPJzHvc/CmykD1hfxVFgoWFTF8UzQbpOTsXzaKCCaL+uc5iW2c9VDVmFEiEgx7aFV5WVzCcEreLZePrR6",
        "X-Received": "by 2002:a65:6248:: with SMTP id q8mr421724pgv.186.1623860695322;\n Wed, 16 Jun 2021 09:24:55 -0700 (PDT)",
        "X-Relaying-Domain": "iol.unh.edu",
        "From": "ohilyard@iol.unh.edu",
        "To": "david.marchand@redhat.com",
        "Cc": "dev@dpdk.org,\n\tOwen Hilyard <ohilyard@iol.unh.edu>",
        "Date": "Wed, 16 Jun 2021 12:24:52 -0400",
        "Message-Id": "<20210616162453.349614-1-ohilyard@iol.unh.edu>",
        "X-Mailer": "git-send-email 2.30.2",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH] tests/test_eal_flags: fix memory leak",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "From: Owen Hilyard <ohilyard@iol.unh.edu>\n\nThe directory steam was not closed when the hugepage action was\nHUGEPAGE_CHECK_EXISTS. This caused a memory leak in some parts of\nthe unit tests.\n\nSigned-off-by: Owen Hilyard <ohilyard@iol.unh.edu>\n---\n app/test/test_eal_flags.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/app/test/test_eal_flags.c b/app/test/test_eal_flags.c\nindex 932fbe3d0..0c1e0fb21 100644\n--- a/app/test/test_eal_flags.c\n+++ b/app/test/test_eal_flags.c\n@@ -125,6 +125,7 @@ process_hugefiles(const char * prefix, enum hugepage_action action)\n \t\t\t\t{\n \t\t\t\t\t/* file exists, return */\n \t\t\t\t\tresult = 1;\n+\t\t\t\t\tclosedir(hugepage_dir);\n \t\t\t\t\tgoto end;\n \t\t\t\t}\n \t\t\t\tbreak;\n",
    "prefixes": []
}