search for: b63d956

Displaying 1 result from an estimated 1 matches for "b63d956".

Did you mean: b637965
2011 Jan 17
1
[PATCH] RHEV: Ensure DESTROY won't be called for uninitialized object
Fixes RHBZ#615182 --- lib/Sys/VirtV2V/Connection/RHEVTarget.pm | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/Sys/VirtV2V/Connection/RHEVTarget.pm b/lib/Sys/VirtV2V/Connection/RHEVTarget.pm index c9dd148..b63d956 100644 --- a/lib/Sys/VirtV2V/Connection/RHEVTarget.pm +++ b/lib/Sys/VirtV2V/Connection/RHEVTarget.pm @@ -442,9 +442,7 @@ sub new my $class = shift; my ($domain_path) = @_; - my $self = {}; - bless($self, $class); - + # Must do this before bless, or DESTROY will be called d...