]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
fsstress: fix a memory leak
authorDarrick J. Wong <djwong@kernel.org>
Mon, 3 Feb 2025 22:00:31 +0000 (14:00 -0800)
committerZorro Lang <zlang@kernel.org>
Tue, 18 Feb 2025 04:42:39 +0000 (12:42 +0800)
commita8268531ca8bc2a1d51ef499cb123a57d40c34ae
tree3dec7e0a7c0c69ef8d1b9d7af0209c35c6ff754b
parent96d29207c12630f35c0e2fa6969a74e370b165ad
fsstress: fix a memory leak

Someone forgot to free the iovec that readv_f allocates.

Fixes: 80499d8f5f251e ("fsstress: new writev and readv operations test")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
ltp/fsstress.c