This website works better with JavaScript.
Home
Explore
Help
Sign In
RuhNetConsulting
/
rtpengine
mirror of
https://github.com/sipwise/rtpengine
Watch
1
Star
1
Fork
0
Code
Issues
0
Projects
0
Releases
822
Wiki
Activity
Browse Source
MT#55283 fix AMR tests mem leaks
... reported by asan Change-Id: I36d909af873362160b0e914686b8ff15d381c156
pull/1759/head
Richard Fuchs
2 years ago
parent
d6928c74f8
commit
028eacde17
3 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
t/test-amr-decode.c
+1
-0
t/test-amr-encode.c
+1
-0
t/test-transcode.c
+ 1
- 0
t/test-amr-decode.c
View File
@ -43,6 +43,7 @@ static int frame_cb(decoder_t *dec, AVFrame *frame, void *u1, void *u2) {
}
}
args
-
>
done
=
true
;
av_frame_free
(
&
frame
)
;
return
0
;
}
+ 1
- 0
t/test-amr-encode.c
View File
@ -93,6 +93,7 @@ static void do_test_amr_xx(const char *file, int line,
encoder_free
(
e
)
;
free
(
fmtp_buf
)
;
av_frame_free
(
&
frame
)
;
printf
(
"
test ok: %s:%i
\n
"
,
file
,
line
)
;
}
+ 1
- 0
t/test-transcode.c
View File
@ -123,6 +123,7 @@ static void codec_set(char *c) {
break
;
splitter
.
len
=
cp
-
splitter
.
s
;
}
free
(
c
)
;
}
#
endif
Write
Preview
Loading…
Cancel
Save