Searched refs:RK_SAFE_FREE (Results 1 – 4 of 4) sorted by relevance
22 #ifndef RK_SAFE_FREE23 #define RK_SAFE_FREE(p) { if (p) {free(p); (p)=RK_NULL;} } macro
534 RK_SAFE_FREE(pstPipeFrames[i]); in TEST_AVS_UnitTest()538 RK_SAFE_FREE(pstChnFrames[i]); in TEST_AVS_UnitTest()540 RK_SAFE_FREE(pstPipeFrames); in TEST_AVS_UnitTest()541 RK_SAFE_FREE(pstChnFrames); in TEST_AVS_UnitTest()868 RK_SAFE_FREE(pLUTVirAddr[i]); in TEST_AVS_MallocLutBuf()870 RK_SAFE_FREE(pLUTVirAddr); in TEST_AVS_MallocLutBuf()
531 RK_SAFE_FREE(pstPipeFrames[i]); in test_avs_vpss_venc_loop()534 RK_SAFE_FREE(pstPipeFrames); in test_avs_vpss_venc_loop()538 RK_SAFE_FREE(pstVencCtx); in test_avs_vpss_venc_loop()691 RK_SAFE_FREE(pstPipeFrames[i]); in test_avs_vo_loop()694 RK_SAFE_FREE(pstPipeFrames); in test_avs_vo_loop()
1215 RK_SAFE_FREE(ctx); in destroy_vi()