Zebediah Figura : wined3d: Fully initialize the allocator structure in wined3d_allocator_init().
Module: wine Branch: master Commit: b344d1d0913fb7f87c72e7c4693587a78915abef URL: https://source.winehq.org/git/wine.git/?a=commit;h=b344d1d0913fb7f87c72e7c46... Author: Zebediah Figura <zfigura(a)codeweavers.com> Date: Sun Oct 17 15:08:30 2021 -0500 wined3d: Fully initialize the allocator structure in wined3d_allocator_init(). Allows the allocator to be uninitialized and reinitialized. Signed-off-by: Zebediah Figura <zfigura(a)codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/wined3d/utils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c index 47718c9f710..29326668e07 100644 --- a/dlls/wined3d/utils.c +++ b/dlls/wined3d/utils.c @@ -7432,5 +7432,7 @@ bool wined3d_allocator_init(struct wined3d_allocator *allocator, list_init(&allocator->pools[i].chunks); } + allocator->free = NULL; + return true; }
participants (1)
-
Alexandre Julliard