diff options
author | Emil Velikov <[email protected]> | 2015-09-10 14:41:38 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-09-15 12:39:02 +0100 |
commit | a1ac742f709089eabad59b4da484799091203d91 (patch) | |
tree | 5206e1169c688908cf2ec7f2629277d98fd7b6f8 /VERSION | |
parent | bd5bcb5b8ca043a3908d7a70ab1193efc1db278d (diff) |
egl/dri2: don't leak the fd on dri2_terminate
Currently the check was incorrect as it did not consider the (unlikely)
case of fd == 0. In order to fix this we should first correctly
initialize it to -1, as the swrast implementations leave it set to zero
(props to calloc()).
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Boyan Ding <[email protected]>
Diffstat (limited to 'VERSION')
0 files changed, 0 insertions, 0 deletions