Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
glslang
Project
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
glslang
Commits
e48b8d74
Commit
e48b8d74
authored
Jan 19, 2017
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Infrastructure: remove potential memory leaks.
parent
94dfb7a5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
revision.h
glslang/Include/revision.h
+2
-2
ParseHelper.cpp
glslang/MachineIndependent/ParseHelper.cpp
+1
-1
hlslParseHelper.cpp
hlsl/hlslParseHelper.cpp
+2
-2
No files found.
glslang/Include/revision.h
View file @
e48b8d74
...
...
@@ -2,5 +2,5 @@
// For the version, it uses the latest git tag followed by the number of commits.
// For the date, it uses the current date (when then script is run).
#define GLSLANG_REVISION "Overload400-PrecQual.177
2
"
#define GLSLANG_DATE "1
8
-Jan-2017"
#define GLSLANG_REVISION "Overload400-PrecQual.177
3
"
#define GLSLANG_DATE "1
9
-Jan-2017"
glslang/MachineIndependent/ParseHelper.cpp
View file @
e48b8d74
...
...
@@ -4989,7 +4989,7 @@ void TParseContext::inheritGlobalDefaults(TQualifier& dst) const
//
TVariable
*
TParseContext
::
makeInternalVariable
(
const
char
*
name
,
const
TType
&
type
)
const
{
TString
*
nameString
=
new
TString
(
name
);
TString
*
nameString
=
NewPool
TString
(
name
);
TVariable
*
variable
=
new
TVariable
(
nameString
,
type
);
symbolTable
.
makeInternalVariable
(
*
variable
);
...
...
hlsl/hlslParseHelper.cpp
View file @
e48b8d74
...
...
@@ -5474,7 +5474,7 @@ void HlslParseContext::inheritGlobalDefaults(TQualifier& dst) const
//
TVariable
*
HlslParseContext
::
makeInternalVariable
(
const
char
*
name
,
const
TType
&
type
)
const
{
TString
*
nameString
=
new
TString
(
name
);
TString
*
nameString
=
NewPool
TString
(
name
);
TVariable
*
variable
=
new
TVariable
(
nameString
,
type
);
symbolTable
.
makeInternalVariable
(
*
variable
);
...
...
@@ -6481,7 +6481,7 @@ void HlslParseContext::renameShaderFunction(TString*& name) const
// Replace the entry point name given in the shader with the real entry point name,
// if there is a substitution.
if
(
name
!=
nullptr
&&
*
name
==
sourceEntryPointName
)
name
=
new
TString
(
intermediate
.
getEntryPointName
().
c_str
());
name
=
NewPool
TString
(
intermediate
.
getEntryPointName
().
c_str
());
}
// post-processing
...
...
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