|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] acm: Return a valid buffer
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1235989876 0
# Node ID 6f207d1eee5c21452d4527fe202c5a3f4d2b815c
# Parent 5255784eb0d7aec286e8ab6559c2fa9cc84722c2
acm: 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.
Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
---
tools/python/xen/lowlevel/acm/acm.c | 2 --
1 files changed, 2 deletions(-)
diff -r 5255784eb0d7 -r 6f207d1eee5c tools/python/xen/lowlevel/acm/acm.c
--- a/tools/python/xen/lowlevel/acm/acm.c Mon Mar 02 10:30:15 2009 +0000
+++ b/tools/python/xen/lowlevel/acm/acm.c Mon Mar 02 10:31:16 2009 +0000
@@ -68,8 +68,6 @@ static void *__getssid(int domid, uint32
goto out2;
} else {
*buflen = SSID_BUFFER_SIZE;
- free(buf);
- buf = NULL;
goto out2;
}
out2:
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] acm: Return a valid buffer,
Xen patchbot-unstable <=
|
|
|
|
|