Skip to contentSkip to conversation

Return a valid buffer

PATCH New Stefan Berger 1 participant 1 message Feb 25, 2009 Arm/actions semi architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Return a valid buffer

This patch reverts a previous patch trying to fix a memory, even though I don't think there was any. Now return a valid buffer. All functions calling this function do free the buffer.

tools/python/xen/lowlevel/acm/acm.c +0 -2
diff -r f8187a343ad2 tools/python/xen/lowlevel/acm/acm.c
@@ -68,8 +68,6 @@
         goto out2;
     } else {
         *buflen = SSID_BUFFER_SIZE;
-        free(buf);
-        buf = NULL;
         goto out2;
     }
  out2:

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel