projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c64847
)
util: s/0/NULL/ for pointer
author
Eric Engestrom
<eric.engestrom@intel.com>
Sun, 28 Oct 2018 18:04:01 +0000
(18:04 +0000)
committer
Eric Engestrom
<eric.engestrom@intel.com>
Tue, 30 Oct 2018 18:10:59 +0000
(18:10 +0000)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/util/u_dynarray.h
patch
|
blob
|
history
diff --git
a/src/util/u_dynarray.h
b/src/util/u_dynarray.h
index c1aa79c8ac6ca8fce8100cbfc5839faff486ebe3..9bed2b9c25c879672e222e6767564bb0b8bd0890 100644
(file)
--- a/
src/util/u_dynarray.h
+++ b/
src/util/u_dynarray.h
@@
-134,7
+134,7
@@
util_dynarray_trim(struct util_dynarray *buf)
} else {
free(buf->data);
}
- buf->data =
0
;
+ buf->data =
NULL
;
buf->capacity = 0;
}
}