[pve-devel] memory leak in PVE/QMPClient.pm

Dietmar Maurer dietmar at proxmox.com
Fri Oct 26 15:24:12 CEST 2012


> To fix this we need a DESTROY function in QMPClient:
> sub DESTROY {
>      my ($self) = @_;
> 
>      $self->{mux} = undef;
> }
> 
> This is enough to remove the circular reference.

great! thanks for that fix.




More information about the pve-devel mailing list