ソースを参照

pan/midgard: Don't try to free NULL in LCRA

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fixes: 12e393bacf ("panfrost: add lcra_free() to free lcra state")
master
Alyssa Rosenzweig 6年前
親
コミット
4308d75281
1個のファイルの変更、3行の追加、0行の削除
  1. 3
    0
      src/panfrost/midgard/lcra.c

+ 3
- 0
src/panfrost/midgard/lcra.c ファイルの表示

@@ -69,6 +69,9 @@ lcra_alloc_equations(
void
lcra_free(struct lcra_state *l)
{
if (!l)
return;

free(l->alignment);
free(l->linear);
free(l->modulus);

読み込み中…
キャンセル
保存