aboutsummaryrefslogtreecommitdiff
path: root/test/unit-tests.c
diff options
context:
space:
mode:
authorJohn Levon <john.levon@nutanix.com>2022-04-21 17:12:14 +0100
committerGitHub <noreply@github.com>2022-04-21 17:12:14 +0100
commit4ba8cde7c5417cfb11e1fc5d1d188f6a4f9a35d5 (patch)
tree27346ecea46e1f7572aa1bc199743a3338100041 /test/unit-tests.c
parent3779fca8c766b18b6d68feda9ed7958aa60bd4cf (diff)
downloadlibvfio-user-4ba8cde7c5417cfb11e1fc5d1d188f6a4f9a35d5.zip
libvfio-user-4ba8cde7c5417cfb11e1fc5d1d188f6a4f9a35d5.tar.gz
libvfio-user-4ba8cde7c5417cfb11e1fc5d1d188f6a4f9a35d5.tar.bz2
fix a small coverity complaint (#663)
The complaint was: 259 if (ret != 0) { >>> CID 392380: Possible Control flow issues (DEADCODE) >>> Execution cannot reach this statement: "free(tp);". 260 free(tp); 261 return ERROR_INT(ret); 262 } Signed-off-by: John Levon <john.levon@nutanix.com> Reviewed-by: Swapnil Ingle <swapnil.ingle@nutanix.com>
Diffstat (limited to 'test/unit-tests.c')
0 files changed, 0 insertions, 0 deletions