xenstore: Fix error path I broke in c/s 17816
PATCH 1/1 xenstore: Fix error path I broke in c/s 17816
Hi!
Attached patch fixes error path I broke in xenstore's hash allocation (c/s 17816). Sorry for this.
Signed-off-by Christoph Egger <[email protected]>
Signature · 12 lines
AMD Saxony, Dresden, Germany Operating System Research Center Legal Information: AMD Saxony Limited Liability Company & Co. KG Sitz (Geschäftsanschrift): Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland Registergericht Dresden: HRA 4896 vertretungsberechtigter Komplementär: AMD Saxony LLC (Sitz Wilmington, Delaware, USA) Geschäftsführer der AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy
tools/xenstore/hashtable.c +2 -2
@@ -57,9 +57,9 @@ create_hashtable(unsigned int minsize, h->loadlimit = (unsigned int )(((uint64_t )size * max_load_factor) /100 );return h; +err1: +free (h); err0: -free (h); -err1:return NULL ; }
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel