Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
excit
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
argo
excit
Commits
fa23f3c4
Commit
fa23f3c4
authored
Jan 09, 2019
by
Brice Videau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Order inverse was not freed.
parent
9a62143d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
src/tleaf.c
src/tleaf.c
+5
-6
src/tleaf.h
src/tleaf.h
+1
-1
No files found.
src/tleaf.c
View file @
fa23f3c4
...
...
@@ -13,6 +13,7 @@ static int tleaf_it_alloc(excit_t it)
data_it
->
depth
=
0
;
data_it
->
arities
=
NULL
;
data_it
->
order
=
NULL
;
data_it
->
order_inverse
=
NULL
;
data_it
->
buf
=
NULL
;
data_it
->
levels
=
NULL
;
return
EXCIT_SUCCESS
;
...
...
@@ -25,12 +26,10 @@ static void tleaf_it_free(excit_t it)
struct
tleaf_it_s
*
data_it
=
it
->
data
;
if
(
data_it
->
arities
!=
NULL
)
free
(
data_it
->
arities
);
if
(
data_it
->
order
!=
NULL
)
free
(
data_it
->
order
);
if
(
data_it
->
buf
!=
NULL
)
free
(
data_it
->
buf
);
free
(
data_it
->
arities
);
free
(
data_it
->
order
);
free
(
data_it
->
order_inverse
);
free
(
data_it
->
buf
);
excit_free
(
data_it
->
levels
);
}
...
...
src/tleaf.h
View file @
fa23f3c4
...
...
@@ -8,8 +8,8 @@ struct tleaf_it_s {
ssize_t
*
arities
;
ssize_t
*
order
;
ssize_t
*
order_inverse
;
excit_t
levels
;
ssize_t
*
buf
;
excit_t
levels
;
};
extern
struct
excit_func_table_s
excit_tleaf_func_table
;
...
...
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