mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 21:08:11 +02:00
util: s/0/NULL/ for pointer
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
parent
5c64847322
commit
d0d6ec549d
1 changed files with 1 additions and 1 deletions
|
|
@ -134,7 +134,7 @@ util_dynarray_trim(struct util_dynarray *buf)
|
|||
} else {
|
||||
free(buf->data);
|
||||
}
|
||||
buf->data = 0;
|
||||
buf->data = NULL;
|
||||
buf->capacity = 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue