[PATCH libdrm] tests: Use drmFreeVersion() instead of drmFree()

Eric Anholt eric at anholt.net
Wed Feb 19 11:33:06 PST 2014


Thierry Reding <thierry.reding at gmail.com> writes:

> From: Thierry Reding <treding at nvidia.com>
>
> drmFreeVersion() frees the memory allocated for the name, date and desc
> fields in addition to that for the struct _drmVersion.
>
> Signed-off-by: Thierry Reding <treding at nvidia.com>

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140219/53a195fd/attachment.pgp>


More information about the dri-devel mailing list