Reviewed-By: George Kyriazis
mailto:george.kyria...@intel.com>>
On Apr 12, 2018, at 8:49 PM, Vlad Golovkin
mailto:vlad.golovkin.m...@gmail.com>> wrote:
Zeroing memory after calloc is not necessary. This also allows to avoid
possible crash when allocation fails, because memset is called before
Zeroing memory after calloc is not necessary. This also allows to avoid
possible crash when allocation fails, because memset is called before
checking screen for NULL.
---
src/gallium/drivers/swr/swr_screen.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/gallium/drivers/swr/swr_screen.c