Bug 722806
Summary: | virsh net-info command exists memory leak | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Alex Jia <ajia> |
Component: | libvirt | Assignee: | Laine Stump <laine> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.2 | CC: | dallan, dyuan, jyang, rwu, veillard |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-0.9.4-1.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-12-06 11:16:51 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Alex Jia
2011-07-18 02:53:38 UTC
commit 22da8c941cc806a40cee69955ecb105f9b8e5a40 Author: Alex Jia <ajia> Date: Tue Aug 2 16:31:36 2011 +0800 virsh: fix memory leak in cmdNetworkInfo * tools/virsh.c: avoid memory leak in cmdNetworkInfo. * how to reproduce? % valgrind -v --leak-check=yes virsh net-info default https://bugzilla.redhat.com/show_bug.cgi?id=722806 Move to POST. Reproduced this bug with libvirt-0.9.4-0rc2.el6. Verified PASS with libvirt-0.9.4-1.el6 pkgs: qemu-kvm-0.12.1.2-2.176.el6 kernel-2.6.32-176.el6 ==12064== ==12064== HEAP SUMMARY: ==12064== in use at exit: 331,377 bytes in 53 blocks ==12064== total heap usage: 1,113 allocs, 1,060 frees, 2,892,195 bytes allocated ==12064== ==12064== Searching for pointers to 53 not-freed blocks ==12064== Checked 1,519,304 bytes ==12064== ==12064== LEAK SUMMARY: ==12064== definitely lost: 0 bytes in 0 blocks ==12064== indirectly lost: 0 bytes in 0 blocks ==12064== possibly lost: 0 bytes in 0 blocks ==12064== still reachable: 331,377 bytes in 53 blocks ==12064== suppressed: 0 bytes in 0 blocks ==12064== Reachable blocks (those to which a pointer was found) are not shown. ==12064== To see them, rerun with: --leak-check=full --show-reachable=yes ==12064== ==12064== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 8 from 6) --12064-- --12064-- used_suppression: 8 dl-hack3-cond-1 ==12064== ==12064== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 8 from 6) Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1513.html |