Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
f2d2755e
Commit
f2d2755e
authored
Sep 26, 2012
by
Matteo Bruni
Committed by
Alexandre Julliard
Sep 27, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler: Also free the list itself in free_instr_list().
parent
97a170d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
utils.c
dlls/d3dcompiler_43/utils.c
+2
-1
No files found.
dlls/d3dcompiler_43/utils.c
View file @
f2d2755e
...
...
@@ -2222,6 +2222,7 @@ void free_instr_list(struct list *list)
return
;
LIST_FOR_EACH_ENTRY_SAFE
(
node
,
next_node
,
list
,
struct
hlsl_ir_node
,
entry
)
free_instr
(
node
);
d3dcompiler_free
(
list
);
}
static
void
free_ir_constant
(
struct
hlsl_ir_constant
*
constant
)
...
...
@@ -2360,5 +2361,5 @@ void free_function(struct hlsl_ir_function_decl *func)
d3dcompiler_free
(
param
);
d3dcompiler_free
(
func
->
parameters
);
free_instr_list
(
func
->
body
);
d3dcompiler_free
(
func
->
body
);
d3dcompiler_free
(
func
);
}
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