diff options
| author | Stefan Weil <sw@weilnetz.de> | 2012-09-04 22:14:19 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi <stefanha@gmail.com> | 2012-09-23 07:35:29 +0100 |
| commit | ad11ad77748bdd8016370db210751683dc038dd6 (patch) | |
| tree | a4b9696072345e03e7a4ad4c750721b8ed1008a9 /scripts/qapi.py | |
| parent | 144b97c26cdef7fecd62dae2db6ce312cd493751 (diff) | |
| download | focaccia-qemu-ad11ad77748bdd8016370db210751683dc038dd6.tar.gz focaccia-qemu-ad11ad77748bdd8016370db210751683dc038dd6.zip | |
linux-user: Remove redundant null check and replace free by g_free
Report from smatch: linux-user/syscall.c:3632 do_ioctl_dm(220) info: redundant null check on big_buf calling free() 'big_buf' was allocated by g_malloc0, therefore free was also replaced by g_free. Signed-off-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Diffstat (limited to 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions