Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
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
Libraries
asn1c
Commits
0299037e
Commit
0299037e
authored
Nov 13, 2017
by
Bi-Ruei, Chiu
Committed by
Lev Walkin
Nov 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix memory leakeage
parent
8ae074ce
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
libasn1fix/asn1fix_retrieve.c
libasn1fix/asn1fix_retrieve.c
+3
-0
No files found.
libasn1fix/asn1fix_retrieve.c
View file @
0299037e
...
...
@@ -286,6 +286,7 @@ asn1f_lookup_symbol_impl(arg_t *arg, asn1p_expr_t *rhs_pspecs, const asn1p_ref_t
return
NULL
;
}
DISPOSE_OF_MY_NAMESPACE
();
my_namespace
=
asn1_namespace_new_from_module
(
imports_from
,
1
);
DEBUG
(
"Lookup (%s) in %s for line %d"
,
asn1f_printable_reference
(
ref
),
asn1_namespace_string
(
my_namespace
),
ref
->
_lineno
);
...
...
@@ -341,6 +342,7 @@ asn1f_lookup_symbol_impl(arg_t *arg, asn1p_expr_t *rhs_pspecs, const asn1p_ref_t
ref_tc
->
Identifier
,
asn1f_printable_reference
(
ref
),
ref
->
_lineno
);
errno
=
EPERM
;
DISPOSE_OF_MY_NAMESPACE
();
return
NULL
;
}
if
(
rhs_pspecs
&&
ref_tc
->
lhs_params
)
{
...
...
@@ -383,6 +385,7 @@ asn1f_lookup_symbol_impl(arg_t *arg, asn1p_expr_t *rhs_pspecs, const asn1p_ref_t
asn1_namespace_string
(
arg
->
ns
),
asn1f_printable_reference
(
ref
),
ref
->
_lineno
);
errno
=
ETOOMANYREFS
;
DISPOSE_OF_MY_NAMESPACE
();
return
NULL
;
}
...
...
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