|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: [Qemu-devel] [PATCH 2/2] xen: add vkbd support for PV on
On Fri, 24 Jun 2011, Peter Maydell wrote:
> 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?
Yes, it should be, I'll send a second version of the patch. _______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|