u_dynarray: fix coverity warning about ignoring return value from reralloc
authorDave Airlie <airlied@redhat.com>
Mon, 12 Jun 2017 19:50:18 +0000 (05:50 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 12 Jun 2017 20:40:25 +0000 (06:40 +1000)
commitca69b5e78c49be2474dab7be92161cd9f957c4e7
treeb46585d05a200ce1611dc92908a28b162f9ba0b5
parent53587b7105aaf10ecf7e5dcb8ed63265af688738
u_dynarray: fix coverity warning about ignoring return value from reralloc

>>>     Ignoring storage allocated by "reralloc_size(buf->mem_ctx, buf->data, buf->size)" leaks it.

Reviewed-by: Thomas Helland<thomashelland90@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/util/u_dynarray.h