Re: PATCH: 8/10: Fix misc mem leaks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 29, 2007 at 05:21:30PM +0000, Daniel P. Berrange wrote:
> Testing with valgrind found a number of memory leaks in all
> sorts of places in the drivers and virsh.

In case it is of use, attached is a valgrind suppressions file I used on
Fedora 8 to hide the false positives it reports.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 
{
   <insert a suppression name here>
   Memcheck:Leak
   fun:malloc
   fun:link_nfa_nodes
   fun:re_compile_internal
   fun:regcomp
   fun:xenHypervisorInit
   fun:xenUnifiedRegister
   fun:virInitialize
}
{
   <insert a suppression name here>
   Memcheck:Leak
   fun:malloc
   fun:register_state
   fun:create_cd_newstate
   fun:re_compile_internal
   fun:regcomp
   fun:xenHypervisorInit
   fun:xenUnifiedRegister
   fun:virInitialize
}
{
   <insert a suppression name here>
   Memcheck:Leak
   fun:malloc
   fun:create_cd_newstate
   fun:re_compile_internal
   fun:regcomp
   fun:xenHypervisorInit
   fun:xenUnifiedRegister
   fun:virInitialize
}
{
   <insert a suppression name here>
   Memcheck:Leak
   fun:calloc
   fun:parse_bracket_exp
   fun:parse_expression
   fun:parse_branch
   fun:parse_reg_exp
   fun:re_compile_internal
   fun:regcomp
   fun:xenHypervisorInit
   fun:xenUnifiedRegister
   fun:virInitialize
}
{
   <insert a suppression name here>
   Memcheck:Leak
   fun:calloc
   fun:create_cd_newstate
   fun:re_compile_internal
   fun:regcomp
   fun:xenHypervisorInit
   fun:xenUnifiedRegister
   fun:virInitialize
}
{
   <insert a suppression name here>
   Memcheck:Leak
   fun:realloc
   fun:re_compile_internal
   fun:regcomp
   fun:xenHypervisorInit
   fun:xenUnifiedRegister
   fun:virInitialize
}
{
   <insert a suppression name here>
   Memcheck:Leak
   fun:malloc
   fun:calc_eclosure_iter
   fun:re_compile_internal
   fun:regcomp
   fun:xenHypervisorInit
   fun:xenUnifiedRegister
   fun:virInitialize
}
{
   <insert a suppression name here>
   Memcheck:Leak
   fun:malloc
   fun:re_compile_internal
   fun:regcomp
   fun:xenHypervisorInit
   fun:xenUnifiedRegister
   fun:virInitialize
}
{
   <insert a suppression name here>
   Memcheck:Leak
   fun:realloc
   fun:re_node_set_merge
   fun:calc_eclosure_iter
   fun:re_compile_internal
   fun:regcomp
   fun:xenHypervisorInit
   fun:xenUnifiedRegister
   fun:virInitialize
}
{
   <insert a suppression name here>
   Memcheck:Leak
   fun:malloc
   fun:regcomp
   fun:xenHypervisorInit
   fun:xenUnifiedRegister
   fun:virInitialize
}
{
   <insert a suppression name here>
   Memcheck:Leak
   fun:malloc
   fun:realloc
   fun:re_compile_internal
   fun:regcomp
   fun:xenHypervisorInit
   fun:xenUnifiedRegister
   fun:virInitialize
}
{
   <insert a suppression name here>
   Memcheck:Leak
   fun:malloc
   fun:re_compile_internal
   fun:regcomp
   fun:xenHypervisorInit
   fun:xenUnifiedRegister
   fun:virInitialize
}
{
   <insert a suppression name here>
   Memcheck:Leak
   fun:calloc
   fun:re_compile_internal
   fun:regcomp
   fun:xenHypervisorInit
   fun:xenUnifiedRegister
   fun:virInitialize
}
--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]