[PATCH] xv: fix double free in AddResource failure case

Adam Jackson ajax at redhat.com
Wed Mar 2 15:04:32 UTC 2016


On Tue, 2016-03-01 at 21:39 +0100, Julien Cristau wrote:
> XvdiDestroyVideoNotifyList already frees the list if AddResource fails,
> so don't do it twice.  And set tpn->client to NULL explicitly to avoid
> confusing uninitialized memory with a valid value.

remote: I: patch #75511 updated using rev 939ce0bae68b682b57675f65c901653c1a094ebb.
remote: I: 3 patch(es) updated to state Accepted.
To ssh://git.freedesktop.org/git/xorg/xserver
   ac4d8c7..939ce0b  master -> master

- ajax


More information about the xorg-devel mailing list