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

[Xen-devel] Re: Xenstored: eliminate double free and fixes for memory leak


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Peter Teoh" <htmldeveloper@xxxxxxxxx>
  • Date: Mon, 17 Sep 2007 15:07:51 +0800
  • Delivery-date: Mon, 17 Sep 2007 00:08:33 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AUcAOksH9+uYAoZviX//HH1vsFCYDA27kQM4bP8WB1vCvUVQlKyJRbWuBYI0Xx9+EW8nhPk9J9H4jcDCbtQgvn43owTn1QGJHIqkQj+n01kAzarZGVNJAdfU2bzd+VF/ANsKguryCxMibexyT7V16Z0fEWZAUG7HKJVX2x+RGnk=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On top of abovementioned problems I missed out this one:

canonicalize() may return an existing pointer as a value - so no
memory deallocation is needed, but it also may return a newly
allocated memory - for which deallocation is needed.   And currently
all the results returned from canonicalize() are not freed.

Please let me know how to fix this.

Thanks.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.