commit | f9763b20542619bec57163ae45480626c76d4378 | [log] [tgz] |
---|---|---|
author | Martin Peres <martin.peres@mupuf.org> | Thu Oct 15 18:27:27 2020 +0300 |
committer | Martin Peres <martin.peres@mupuf.org> | Thu Oct 22 07:47:28 2020 +0300 |
tree | b5b1bd96572d3bef7d0427ad788342658f3c108d | |
parent | 0e3a424f002d04a319dfdfc363d1774790bc1193 [diff] |
driconf: initialize the option value before using it ParseValue is freeing the pointer if the address is != 0. However, since we allocate this value on the stack, we need to initialize the data first. Reviewed-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Martin Peres <martin.peres@mupuf.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7212>