ソースを参照

st/xa: Fix a memory leak

Free the context after destruction.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
tags/19.0-branchpoint
Thomas Hellstrom 7年前
コミット
7fce3ca375
1個のファイルの変更1行の追加0行の削除
  1. 1
    0
      src/gallium/state_trackers/xa/xa_context.c

+ 1
- 0
src/gallium/state_trackers/xa/xa_context.c ファイルの表示

@@ -91,6 +91,7 @@ xa_context_destroy(struct xa_context *r)
}

r->pipe->destroy(r->pipe);
free(r);
}

XA_EXPORT int

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