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

2014-02-19 Thread Thierry Reding
From: Thierry Reding 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 --- tests/getversion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/getversion.c b/test

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

2014-02-19 Thread Eric Anholt
Thierry Reding writes: > From: Thierry Reding > > 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 Reviewed-by: Eric Anholt -- next part -- A non-text atta