5
0
mirror of git://git.proxmox.com/git/qemu-server.git synced 2024-12-23 17:34:19 +03:00

fix memory leak in QMP Client (many thanks to Stefan!)

This commit is contained in:
Dietmar Maurer 2012-10-29 12:15:43 +01:00
parent c811a3c606
commit b3ea07f71e
3 changed files with 12 additions and 1 deletions

View File

@ -2,7 +2,7 @@ RELEASE=2.2
VERSION=2.0
PACKAGE=qemu-server
PKGREL=63
PKGREL=64
DESTDIR=
PREFIX=/usr

View File

@ -7,6 +7,7 @@ use IO::Multiplex;
use POSIX qw(EINTR EAGAIN);
use JSON;
use Time::HiRes qw(usleep gettimeofday tv_interval);
use Scalar::Util qw(weaken);
use Data::Dumper;
@ -35,6 +36,10 @@ sub new {
$mux->set_callback_object($self);
# make sure perl doesn't believe this is a circular reference as we
# delete mux in DESTROY
weaken($mux->{_object});
return $self;
}

View File

@ -1,3 +1,9 @@
qemu-server (2.0-64) unstable; urgency=low
* fix memory leak in QMP Client (many thanks to Stefan!)
-- Proxmox Support Team <support@proxmox.com> Mon, 29 Oct 2012 12:14:51 +0100
qemu-server (2.0-63) unstable; urgency=low
* fix bug in vmtar