x11: More udscs_read_callback memory ownership issues
commit7324da13b848498ed8c849310addcef497ed4cd5
authorChristophe Fergeau <cfergeau@redhat.com>
Wed, 23 Nov 2016 13:41:57 +0000 (23 14:41 +0100)
committerChristophe Fergeau <cfergeau@redhat.com>
Thu, 24 Nov 2016 15:37:50 +0000 (24 16:37 +0100)
tree0c84213c14ffea5ffa90202e1120d520a22d0385
parent05d389dc90483deeb2285a47779eb0af723c5981
x11: More udscs_read_callback memory ownership issues

This time it's vdagent_x11_clipboard_data() which is called from
daemon_read_complete() which was missed and which was still freeing data
it no longer owns.

This fixes https://bugs.freedesktop.org/show_bug.cgi?id=98830
src/vdagent/vdagent.c
src/vdagent/x11.c