[core] fix leak in unit test
This commit is contained in:
parent
2448d32c0f
commit
48e3a37587
|
@ -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…
Reference in New Issue