get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 34979,
    "url": "http://patches.dpdk.org/api/patches/34979/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/61277624bc2a0f718f97a80746ff63aca54053bf.1517834482.git.anatoly.burakov@intel.com/",
    "project": {
        "id": 1,
        "url": "http://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": "<61277624bc2a0f718f97a80746ff63aca54053bf.1517834482.git.anatoly.burakov@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/61277624bc2a0f718f97a80746ff63aca54053bf.1517834482.git.anatoly.burakov@intel.com",
    "date": "2018-02-05T13:03:08",
    "name": "[dpdk-dev,v4,2/6] test: fix memory leak in reorder autotest",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "cbc97ad11ee9e8c0ce90726c19696a00f1b68251",
    "submitter": {
        "id": 4,
        "url": "http://patches.dpdk.org/api/people/4/?format=api",
        "name": "Anatoly Burakov",
        "email": "anatoly.burakov@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/61277624bc2a0f718f97a80746ff63aca54053bf.1517834482.git.anatoly.burakov@intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/34979/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/34979/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id CAEF31B38B;\n\tMon,  5 Feb 2018 14:03:21 +0100 (CET)",
            "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n\tby dpdk.org (Postfix) with ESMTP id 192261B2E6;\n\tMon,  5 Feb 2018 14:03:15 +0100 (CET)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t05 Feb 2018 05:03:14 -0800",
            "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby orsmga002.jf.intel.com with ESMTP; 05 Feb 2018 05:03:13 -0800",
            "from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com\n\t[10.237.217.45])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\tw15D3C2N024579; Mon, 5 Feb 2018 13:03:12 GMT",
            "from sivswdev01.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev01.ir.intel.com with ESMTP id w15D3C2s010810;\n\tMon, 5 Feb 2018 13:03:12 GMT",
            "(from aburakov@localhost)\n\tby sivswdev01.ir.intel.com with LOCAL id w15D3CVL010806;\n\tMon, 5 Feb 2018 13:03:12 GMT"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.46,464,1511856000\"; d=\"scan'208\";a=\"32086389\"",
        "From": "Anatoly Burakov <anatoly.burakov@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Reshma Pattan <reshma.pattan@intel.com>, sergio.gonzalez.monroy@intel.com,\n\tstable@dpdk.org",
        "Date": "Mon,  5 Feb 2018 13:03:08 +0000",
        "Message-Id": "<61277624bc2a0f718f97a80746ff63aca54053bf.1517834482.git.anatoly.burakov@intel.com>",
        "X-Mailer": "git-send-email 1.7.0.7",
        "In-Reply-To": [
            "<409be7970a029d2d2cfffeafee43ea2645244eb2.1517834482.git.anatoly.burakov@intel.com>",
            "<8ccde502aee6921dd4fc74718309d60b8c82f444.1516178976.git.anatoly.burakov@intel.com>"
        ],
        "References": [
            "<409be7970a029d2d2cfffeafee43ea2645244eb2.1517834482.git.anatoly.burakov@intel.com>",
            "<8ccde502aee6921dd4fc74718309d60b8c82f444.1516178976.git.anatoly.burakov@intel.com>"
        ],
        "Subject": "[dpdk-dev] [PATCH v4 2/6] test: fix memory leak in reorder autotest",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Add a teardown function that frees allocated resources.\n\nFixes: d0c9b58d7156 (\"app/test: new reorder unit test\")\nCc: sergio.gonzalez.monroy@intel.com\nCc: reshma.pattan@intel.com\nCc: stable@dpdk.org\n\nSigned-off-by: Anatoly Burakov <anatoly.burakov@intel.com>\n---\n\nNotes:\n    v4: fix Reshma Pattan's email address\n\n test/test/test_reorder.c | 11 +++++++++++\n 1 file changed, 11 insertions(+)",
    "diff": "diff --git a/test/test/test_reorder.c b/test/test/test_reorder.c\nindex e834bac..65e4f38 100644\n--- a/test/test/test_reorder.c\n+++ b/test/test/test_reorder.c\n@@ -331,9 +331,20 @@ test_setup(void)\n \treturn 0;\n }\n \n+static void\n+test_teardown(void)\n+{\n+\trte_reorder_free(test_params->b);\n+\ttest_params->b = NULL;\n+\trte_mempool_free(test_params->p);\n+\ttest_params->p = NULL;\n+}\n+\n+\n static struct unit_test_suite reorder_test_suite  = {\n \n \t.setup = test_setup,\n+\t.teardown = test_teardown,\n \t.suite_name = \"Reorder Unit Test Suite\",\n \t.unit_test_cases = {\n \t\tTEST_CASE(test_reorder_create),\n",
    "prefixes": [
        "dpdk-dev",
        "v4",
        "2/6"
    ]
}