|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: [Qemu-devel] [PATCH 2/2] xen: add vkbd support for PV on
On 24 June 2011 15:54, <stefano.stabellini@xxxxxxxxxxxxx> wrote:
> + if (!in->c.ds) {
> + char *vfb = xenstore_read_str(NULL, "device/vfb");
> + if (vfb == NULL) {
> + /* there is no vfb, run vkbd on its own */
> + in->c.ds = get_displaystate();
> + } else {
> + free(vfb);
xenstore_read_str() returns a pointer from a qemu_strdup()
so strictly this should be a qemu_free(), I think?
-- PMM
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|