Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sass
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-sass
Commits
db2f82d1
Commit
db2f82d1
authored
Dec 24, 2014
by
Adeel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code: Uncomments free statements to avoid mem leak
parent
d11bf706
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sass_context_wrapper.cpp
src/sass_context_wrapper.cpp
+2
-2
No files found.
src/sass_context_wrapper.cpp
View file @
db2f82d1
...
...
@@ -31,7 +31,7 @@ extern "C" {
void
sass_free_context_wrapper
(
sass_context_wrapper
*
ctx_w
)
{
if
(
ctx_w
->
dctx
)
{
//
sass_delete_data_context(ctx_w->dctx);
sass_delete_data_context
(
ctx_w
->
dctx
);
}
else
if
(
ctx_w
->
fctx
)
{
sass_delete_file_context
(
ctx_w
->
fctx
);
...
...
@@ -48,6 +48,6 @@ extern "C" {
uv_mutex_destroy
(
&
ctx_w
->
importer_mutex
);
uv_cond_destroy
(
&
ctx_w
->
importer_condition_variable
);
//
free(ctx_w);
free
(
ctx_w
);
}
}
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