From: Seven Du Date: Mon, 1 Jun 2020 14:26:32 +0000 (+0800) Subject: [core] fix leak in unit test X-Git-Tag: v1.10.7^2~175 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48e3a37587b518798f84be71d1b14cd0332baca4;p=thirdparty%2Ffreeswitch.git [core] fix leak in unit test --- 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;