Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
1a0e4470
Commit
1a0e4470
authored
Dec 01, 2017
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Xtt, memory lekeage fix in delete of flow node
parent
027e7cac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
xtt/lib/flow/src/flow_node.cpp
xtt/lib/flow/src/flow_node.cpp
+10
-2
No files found.
xtt/lib/flow/src/flow_node.cpp
View file @
1a0e4470
...
...
@@ -98,7 +98,15 @@ FlowNode::~FlowNode()
trace_close
();
ctx
->
object_deleted
(
this
);
if
(
ctx
->
nodraw
)
return
;
if
(
ctx
->
nodraw
)
{
for
(
int
i
=
0
;
i
<
10
;
i
++
)
{
if
(
annotv_inputmode
[
i
])
close_annotation_input
(
i
);
if
(
annotsize
[
i
]
>
0
)
free
(
annotv
[
i
]);
}
return
;
}
erase
();
nav_erase
();
...
...
@@ -1103,4 +1111,4 @@ void FlowNode::change_nodeclass( FlowNodeClass *new_nc)
nc
->
draw
(
&
pos
,
highlight
,
dimmed
,
hot
,
(
void
*
)
this
);
else
draw_inverse
();
}
\ No newline at end of file
}
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