[Patchew-devel] [PATCH] hw/audio: fix a memory leak in OPLCreate()

xiajidong xiajidong at cmss.chinamobile.com
Fri Oct 25 04:25:02 UTC 2019



On 10/24/19 7:31 AM, no-reply at patchew.org wrote:
> Patchew URL: https://patchew.org/QEMU/1571824420-24893-1-git-send-email-xiajidong@cmss.chinamobile.com/
> 
> 
> 
> Hi,
> 
> This series seems to have some coding style problems. See output below for
> more information:
> 
> Subject: [PATCH] hw/audio: fix a memory leak in OPLCreate()
> Type: series
> Message-id: 1571824420-24893-1-git-send-email-xiajidong at cmss.chinamobile.com
> 
> === TEST SCRIPT BEGIN ===
> #!/bin/bash
> git rev-parse base > /dev/null || exit 0
> git config --local diff.renamelimit 0
> git config --local diff.renames True
> git config --local diff.algorithm histogram
> ./scripts/checkpatch.pl --mailback base..
> === TEST SCRIPT END ===
> 
> Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
>  From https://github.com/patchew-project/qemu
>   - [tag update]      patchew/20191023101956.19120-1-kraxel at redhat.com -> patchew/20191023101956.19120-1-kraxel at redhat.com
>   * [new tag]         patchew/20191024074307.22821-1-ganeshgr at linux.ibm.com -> patchew/20191024074307.22821-1-ganeshgr at linux.ibm.com
> Switched to a new branch 'test'
> 8f01555 hw/audio: fix a memory leak in OPLCreate()
> 
> === OUTPUT BEGIN ===
> ERROR: code indent should never use tabs
> #21: FILE: hw/audio/fmopl.c:1115:
> +^Ifree(ptr);$
> 
> total: 1 errors, 0 warnings, 7 lines checked
> 
> Commit 8f01555c7bba (hw/audio: fix a memory leak in OPLCreate()) has style problems, please review.  If any of these errors
> are false positives report them to the maintainer, see
> CHECKPATCH in MAINTAINERS.
> === OUTPUT END ===
> 
> Test command exited with code: 1
> 
> 
> The full log is available at
> http://patchew.org/logs/1571824420-24893-1-git-send-email-xiajidong@cmss.chinamobile.com/testing.checkpatch/?type=message.
> ---
> Email generated automatically by Patchew [https://patchew.org/].
> Please send your feedback to patchew-devel at redhat.com
This patch is not valid patch,it's released properly in 
OPLDestroy().Please know it.
> 
Thanks,
Jidong Xia





More information about the Patchew-devel mailing list