[Spice-devel] [spice-server] cursor: Consistently use g_memdup() for cursor data
Christophe Fergeau
cfergeau at redhat.com
Thu Apr 5 08:55:13 UTC 2018
On Thu, Apr 05, 2018 at 04:43:17AM -0400, Frediano Ziglio wrote:
> >
> > Currently, red-parse-qxl.c open codes g_memdup() when it needs to
>
> "open codes" ?
> well, currently uses g_malloc+memcpy which can be rewritten with
> g_memdup.
Yes, doing this can be seen as reimplementing g_memdup, which I'd call
"open code". I'll reformulate :)
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20180405/a8db430d/attachment-0001.sig>
More information about the Spice-devel
mailing list