renderer: check detach_iov interface

check the return values aren't NULL
macos/master
Dave Airlie 10 years ago
parent eedc194402
commit 6a2d49f37a
  1. 2
      src/vrend_renderer.c

@ -3307,7 +3307,9 @@ void vrend_renderer_resource_detach_iov(int res_handle,
if (!res) {
return;
}
if (iov_p)
*iov_p = res->iov;
if (num_iovs_p)
*num_iovs_p = res->num_iovs;
res->iov = NULL;

Loading…
Cancel
Save