mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-13 10:41:27 +00:00
[core] fix leak in unit test
This commit is contained in:
parent
9db36553de
commit
e6b7142ee5
@ -203,7 +203,6 @@ FST_CORE_BEGIN("./conf")
|
|||||||
FST_TEST_BEGIN(stb_data_url)
|
FST_TEST_BEGIN(stb_data_url)
|
||||||
{
|
{
|
||||||
switch_image_t *img = switch_img_alloc(NULL, SWITCH_IMG_FMT_I420, 120, 60, 1);
|
switch_image_t *img = switch_img_alloc(NULL, SWITCH_IMG_FMT_I420, 120, 60, 1);
|
||||||
switch_image_t *argb_img = switch_img_alloc(NULL, SWITCH_IMG_FMT_ARGB, 120, 60, 1);
|
|
||||||
switch_rgb_color_t color = { 0 };
|
switch_rgb_color_t color = { 0 };
|
||||||
color.r = 255;
|
color.r = 255;
|
||||||
// color.g = 255;
|
// color.g = 255;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user