udscs: Let the read call back take owner ship of the data
commite7ba55789ccf61d22c76662b08648160a742aa88
authorHans de Goede <hdegoede@redhat.com>
Sat, 26 Mar 2011 16:12:02 +0000 (26 17:12 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 28 Mar 2011 07:27:46 +0000 (28 09:27 +0200)
tree93f216fc7467e19d6d8353a772b8cc680e9475af
parent2d2ff49500d79e97228c8c8943ab4899e851187f
udscs: Let the read call back take owner ship of the data

This avoids the need to do a memcpy if the read callback wants to keep
the data around. This makes the read callback responsible for freeing the
buffer.
udscs.c
udscs.h
vdagent-x11.c
vdagent-x11.h
vdagent.c
vdagentd.c