fix svace 94/125894/1 accepted/tizen/4.0/unified/20170816.012935 accepted/tizen/4.0/unified/20170816.015623 accepted/tizen/4.0/unified/20170829.020313 accepted/tizen/unified/20170419.165450 submit/tizen/20170419.100911 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0/20170828.100004 submit/tizen_4.0_unified/20170814.115522 tizen_4.0.m1_release
authorJuyeon Lee <juyeonne.lee@samsung.com>
Wed, 19 Apr 2017 08:34:25 +0000 (17:34 +0900)
committerJuyeon Lee <juyeonne.lee@samsung.com>
Wed, 19 Apr 2017 08:35:04 +0000 (17:35 +0900)
Change-Id: I8b0a507671c8acd38b08b1dfe76a023994a9eaf2

src/0400_tzsh.c
src/e_test_runner.c

index f01de5d..d829044 100644 (file)
@@ -207,7 +207,7 @@ tc_0401_scrsaver_mng_basic(E_TC *tc)
    tw = e_tc_win_add(NULL, ELM_WIN_BASIC, EINA_FALSE, NULL,
                      0, 0, 0, 0, EINA_FALSE,
                      0, E_TC_WIN_COLOR_RED);
-   EINA_SAFETY_ON_NULL_RETURN_VAL(tw, EINA_FALSE);
+   EINA_SAFETY_ON_NULL_GOTO(tw, cleanup);
 
    tzsh = tzsh_create(TZSH_TOOLKIT_TYPE_EFL);
    EINA_SAFETY_ON_NULL_GOTO(tzsh, cleanup);
index 283e414..d6992d1 100644 (file)
@@ -1105,6 +1105,7 @@ _e_test_runner_result(E_Test_Runner *runner)
    eina_strbuf_append(buf, "==============================================\n");
 
    printf("%s", eina_strbuf_string_get(buf));
+   eina_strbuf_free(buf);
 }
 
 static void