• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/intel-driver


Commit MetaInfo

Revisionb5d6d9d425a6d539b27d22992bda05f79d1a0622 (tree)
Time2014-12-15 13:54:01
AuthorXiang, Haihao <haihao.xiang@inte...>
CommiterXiang, Haihao

Log Message

Use intel_batchbuffer_free() to free a batch buffer

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Zhao, Yakui <yakui.zhao@intel.com>

Change Summary

Incremental Difference

--- a/src/gen75_vpp_gpe.c
+++ b/src/gen75_vpp_gpe.c
@@ -860,7 +860,8 @@ vpp_gpe_context_destroy(VADriverContextP ctx,
860860 vpp_gpe_ctx->surface_tmp_object = NULL;
861861 }
862862
863- free(vpp_gpe_ctx->batch);
863+ if (vpp_gpe_ctx->batch)
864+ intel_batchbuffer_free(vpp_gpe_ctx->batch);
864865
865866 free(vpp_gpe_ctx);
866867 }