Comments (4)
This happens because cmd_qgroup_show exit without free allocated cmd_qgroup_show and comparer_set.
Patch to resolve the memory leak.
https://patchwork.kernel.org/patch/9971571/
from btrfs-progs.
Thanks, the patch fixes just 2 of the leaks reported. I'll apply the patch and leave the issue open.
from btrfs-progs.
I am so sorry for patch(9971571) will bring a new problem of double free in normal scenes.
So I send a new patch.
https://patchwork.kernel.org/patch/9975383/
Please revert patch(9971571) and use this new one.
from btrfs-progs.
I've fixed that in another way. The called functions do not need to free the buffers.
from btrfs-progs.
Related Issues (20)
- Failed to mkfs/btrfstune with both `block-group-tree` and `zoned` though they are said to be supported HOT 2
- Does current version of btrfs support Host-Managed Garbage Collection on Zone namespace ssd? HOT 3
- send/receive fails with "invalid tlv in cmd tlv type = 816" HOT 39
- Audit all raw images used in testsuite
- btrfs failed to read-only state due to btrfs_free_extent:3116: errno=-28 HOT 8
- `btrfs check`: don't recommend to run --repair in some cases
- HDD read write failure on single array HOT 2
- Build failure on musl-1.2.5 due to removed basename prototype from string.h HOT 9
- zoned device goes read only with lots of writes HOT 20
- Unclear if files have been lost after partition becoming unmountable HOT 6
- Clarify read performance note HOT 1
- `qgroup destroy`: warn if qgroup cannot be removed after subvolume deletion HOT 1
- CI: emit github action annotation with name of the last failed test
- Update subvolume_info in btrfsutil to optionally take a UUID
- convert build breaks with e2fsprogs v1.47.1-rc2: `implicit declaration of function 'inode_includes'` HOT 4
- Adjustable max compressed extent size HOT 3
- btrfs initial full receive fails with "ERROR: failed to clone extents ..." HOT 1
- `check --mode=lowmem` loops on fuzzed image `bko-155621-bad-block-group-offset`
- not zero on folio HOT 7
- feature request: btrfs redundancy report
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from btrfs-progs.