Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
R
rapidjson
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
rapidjson
Commits
d6c8b378
Commit
d6c8b378
authored
Oct 21, 2016
by
Milo Yip
Committed by
GitHub
Oct 21, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #777 from miloyip/issue728_threadsafe
Fix nullHandler allocation bug
parents
fba9ebd9
992b7f5f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
schema.h
include/rapidjson/schema.h
+1
-1
No files found.
include/rapidjson/schema.h
View file @
d6c8b378
...
...
@@ -1928,7 +1928,7 @@ private:
const
Context
&
CurrentContext
()
const
{
return
*
schemaStack_
.
template
Top
<
Context
>
();
}
OutputHandler
&
CreateNullHandler
()
{
return
*
(
nullHandler_
=
static_cast
<
OutputHandler
*>
(
stateAllocator_
->
Malloc
(
sizeof
(
OutputHandler
))));
return
*
(
nullHandler_
=
static_cast
<
OutputHandler
*>
(
GetStateAllocator
().
Malloc
(
sizeof
(
OutputHandler
))));
}
static
const
size_t
kDefaultSchemaStackCapacity
=
1024
;
...
...
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