From 48e3a37587b518798f84be71d1b14cd0332baca4 Mon Sep 17 00:00:00 2001 From: Seven Du Date: Mon, 1 Jun 2020 22:26:32 +0800 Subject: [PATCH] [core] fix leak in unit test --- tests/unit/switch_core_video.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/unit/switch_core_video.c b/tests/unit/switch_core_video.c index ec30a43a05..5c3731eb7f 100644 --- a/tests/unit/switch_core_video.c +++ b/tests/unit/switch_core_video.c @@ -203,7 +203,6 @@ FST_CORE_BEGIN("./conf") FST_TEST_BEGIN(stb_data_url) { 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 }; color.r = 255; // color.g = 255;