]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[core] fix leak in unit test
authorSeven Du <dujinfang@gmail.com>
Mon, 1 Jun 2020 14:26:32 +0000 (22:26 +0800)
committerAndrey Volk <andywolk@gmail.com>
Sat, 23 Oct 2021 19:00:04 +0000 (22:00 +0300)
tests/unit/switch_core_video.c

index ec30a43a05bbf7d5d7dac328ef60dec6d3a32376..5c3731eb7ff9eaf6a414459b358f68229202b2a9 100644 (file)
@@ -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;