summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/CodeGen/MachineFunctionAnalysis.cpp
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2017-10-01 15:03:44 +0000
committeravg <avg@FreeBSD.org>2017-10-01 15:03:44 +0000
commitf06a9a5a8f5dcc0bbf7c6a00fbe76dc108a3661c (patch)
treee6cca0bb90d7520e47fbc4077be0cdffbfec1e47 /contrib/llvm/lib/CodeGen/MachineFunctionAnalysis.cpp
parentdcfc2bd7cd1285924c2dcad43a959a082ffb2903 (diff)
downloadFreeBSD-src-f06a9a5a8f5dcc0bbf7c6a00fbe76dc108a3661c.zip
FreeBSD-src-f06a9a5a8f5dcc0bbf7c6a00fbe76dc108a3661c.tar.gz
MFV r323796: fix memory leak in g_bio zone introduced in r320452
I overlooked the fact that that ZIO_IOCTL_PIPELINE does not include ZIO_STAGE_VDEV_IO_DONE stage. We do allocate a struct bio for an ioctl zio (a disk cache flush), but we never freed it. This change splits bio handling into two groups, one for normal read/write i/o that passes data around and, thus, needs the abd data tranform; the other group is for "data-less" i/o such as trim and cache flush. PR: 222288
Diffstat (limited to 'contrib/llvm/lib/CodeGen/MachineFunctionAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud