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

Stefan Priebe - Profihost AG s.priebe at profihost.ag
Mon Oct 29 11:01:16 CET 2012


Am 29.10.2012 10:58, schrieb Dietmar Maurer:
>> Might be - i haven't tested this. But to provide a clean DESTROY function
>> doesn't harm ;-)
>
> IMHO, adding code which is not really needed make it difficult to understand the source.

;-) Yes i think weaken should be enough. As there is no cicle reference 
for perl anymore and it destroys both objects.

Stefan



More information about the pve-devel mailing list