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
2ed11835
Commit
2ed11835
authored
Oct 14, 2017
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comparison and free fixes
parent
349b3407
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
skeletons/OCTET_STRING.c
skeletons/OCTET_STRING.c
+5
-3
No files found.
skeletons/OCTET_STRING.c
View file @
2ed11835
...
...
@@ -1739,8 +1739,10 @@ OCTET_STRING_free(const asn_TYPE_descriptor_t *td, void *sptr,
break
;
case
ASFM_FREE_UNDERLYING_AND_RESET
:
memset
(
sptr
,
0
,
((
const
asn_OCTET_STRING_specifics_t
*
)(
td
->
specifics
))
->
struct_size
);
td
->
specifics
?
((
const
asn_OCTET_STRING_specifics_t
*
)(
td
->
specifics
))
->
struct_size
:
sizeof
(
OCTET_STRING_t
));
break
;
}
}
...
...
@@ -1828,7 +1830,7 @@ OCTET_STRING_compare(const asn_TYPE_descriptor_t *td, const void *aptr,
return
0
;
}
}
else
{
return
ret
;
return
ret
<
0
?
-
1
:
1
;
}
}
else
if
(
!
a
&&
!
b
)
{
return
0
;
...
...
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