Spdk/test/unit/lib/bdev
yidong0635 90513d3c5f bdev_ut.c: Fix scanbuild issue about potential memory leak.
Issue reports:
bdev_ut.c:1486:2: warning: Potential leak of memory pointed to by 'histogram'
        poll_threads();
        ^~~~~~~~~~~~~~
1 warning generated.

Add Tear down the channels like other tests in this file.

Change-Id: Iaeff93ec6f17716dfb7638cf4dd5f6cfe2c2de06
Signed-off-by: yidong0635 <dongx.yi@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/459939
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Hailiang Wang <hailiangx.e.wang@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2019-07-04 00:41:01 +00:00
..
bdev_raid.c test/bdev_raid_ut: fix a warning of a null pointer dereference 2019-07-04 00:21:43 +00:00
bdev.c test/ut: initialize spdk_bdev_desc to NULL 2019-07-04 00:26:17 +00:00
compress.c bvdev/compress: move comp transform structs to static globals 2019-06-05 16:48:36 +00:00
crypto.c bdev/crypto: add new uninit call needed for dpdk 19.02 2019-04-24 22:00:10 +00:00
gpt test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
mt bdev_ut.c: Fix scanbuild issue about potential memory leak. 2019-07-04 00:41:01 +00:00
part.c trace: remove short_name 2019-05-02 08:41:56 +00:00
pmem bdev: Not assert but pass completion status to spdk_bdev_io_get_buf_cb 2019-02-27 01:59:11 +00:00
scsi_nvme.c test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
vbdev_lvol.c blobstore: Make possible to remove snapshot if there is only one clone 2019-06-18 13:19:32 +00:00
Makefile bdev/compress: add missing mocks and re-enable UT build for comp 2019-04-22 15:44:38 +00:00