Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
166e75e8
Commit
166e75e8
authored
May 03, 2019
by
Henri Verbeet
Committed by
Alexandre Julliard
May 03, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Free the "texture_type" array in wined3d_context_cleanup().
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
08b8801c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
context.c
dlls/wined3d/context.c
+2
-1
No files found.
dlls/wined3d/context.c
View file @
166e75e8
...
...
@@ -1478,6 +1478,8 @@ static void wined3d_context_cleanup(struct wined3d_context *context)
DWORD
err
=
GetLastError
();
ERR
(
"wglDeleteContext(%p) failed, last error %#x.
\n
"
,
context
->
glCtx
,
err
);
}
heap_free
(
context
->
texture_type
);
}
DWORD
context_get_tls_idx
(
void
)
...
...
@@ -2321,7 +2323,6 @@ void wined3d_context_destroy(struct wined3d_context *context)
device
->
shader_backend
->
shader_free_context_data
(
context
);
device
->
adapter
->
fragment_pipe
->
free_context_data
(
context
);
heap_free
(
context
->
texture_type
);
device_context_remove
(
device
,
context
);
if
(
context
->
current
&&
context
->
tid
!=
GetCurrentThreadId
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment