Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Merge "[Epic-ID: ODUHIGH-462][Task-ID: ODUHIGH-472] Handling of drx timer in SCH...
[o-du/l2.git]
/
src
/
codec_utils
/
common
/
asn_internal.c
diff --git
a/src/codec_utils/common/asn_internal.c
b/src/codec_utils/common/asn_internal.c
old mode 100755
(executable)
new mode 100644
(file)
index
1aff95f
..
004660b
--- a/
src/codec_utils/common/asn_internal.c
+++ b/
src/codec_utils/common/asn_internal.c
@@
-26,11
+26,12
@@
asn__format_to_callback(int (*cb)(const void *, size_t, void *key), void *key,
buf_size <<= 1;
if(buf == scratch) {
buf = MALLOC(buf_size);
- if(!buf)
return -1;
+ if(!buf)
{ va_end(args); return -1; }
} else {
void *p = REALLOC(buf, buf_size);
if(!p) {
FREEMEM(buf);
+ va_end(args);
return -1;
}
buf = p;