Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sqlite3
Overview
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
俞永鹏
node-sqlite3
Commits
25db9578
Commit
25db9578
authored
Jun 12, 2013
by
Dane Springmeyer
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #117 from tomhughes/master
Avoid writing to freed memory
parents
68b22386
5e93d6f2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
async.h
src/async.h
+0
-1
statement.cc
src/statement.cc
+0
-1
No files found.
src/async.h
View file @
25db9578
...
@@ -50,7 +50,6 @@ public:
...
@@ -50,7 +50,6 @@ public:
assert
(
handle
->
data
!=
NULL
);
assert
(
handle
->
data
!=
NULL
);
Async
*
async
=
static_cast
<
Async
*>
(
handle
->
data
);
Async
*
async
=
static_cast
<
Async
*>
(
handle
->
data
);
delete
async
;
delete
async
;
handle
->
data
=
NULL
;
}
}
void
finish
()
{
void
finish
()
{
...
...
src/statement.cc
View file @
25db9578
...
@@ -647,7 +647,6 @@ void Statement::CloseCallback(uv_handle_t* handle) {
...
@@ -647,7 +647,6 @@ void Statement::CloseCallback(uv_handle_t* handle) {
assert
(
handle
->
data
!=
NULL
);
assert
(
handle
->
data
!=
NULL
);
Async
*
async
=
static_cast
<
Async
*>
(
handle
->
data
);
Async
*
async
=
static_cast
<
Async
*>
(
handle
->
data
);
delete
async
;
delete
async
;
handle
->
data
=
NULL
;
}
}
void
Statement
::
AsyncEach
(
uv_async_t
*
handle
,
int
status
)
{
void
Statement
::
AsyncEach
(
uv_async_t
*
handle
,
int
status
)
{
...
...
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