Hey,

These fixes duplicate fixes that already went into master :-/ See commits
d7d0a3a98e and 0d4bd5504.

On Wed, Aug 17, 2011 at 05:35:17PM +0300, Zeeshan Ali (Khattak) wrote:
> From: "Zeeshan Ali (Khattak)" <[email protected]>
> diff --git a/client/x11/red_window.cpp b/client/x11/red_window.cpp
> index d53a92f..f3ff95f 100644
> --- a/client/x11/red_window.cpp
> +++ b/client/x11/red_window.cpp
> @@ -1313,6 +1313,7 @@ void RedWindow_p::move_to_current_desktop()
>                             &bytes_after_return, &prop_return) == Success &&
>                                           actual_type_return != None && 
> actual_format_return == 32) {
>          desktop = *(uint32_t *)prop_return;
> +        XFree(prop_return);

prop_return will still be leaked when actual_type_return is None or
when actual_format_return is != 32 (maybe that can't happen ?)

Christophe

Attachment: pgpEzfkzmSP3L.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to