mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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@us.ibm.com>
This commit is contained in:
1 parent
8bb7b3914b
commit
69e8ef7314
1 file changed
-2
@@ -68,8 +68,6 @@ static void *__getssid(int domid, uint32_t *buflen)
|
||||
goto out2;
|
||||
} else {
|
||||
*buflen = SSID_BUFFER_SIZE;
|
||||
free(buf);
|
||||
buf = NULL;
|
||||
goto out2;
|
||||
}
|
||||
out2:
|
||||
|
||||