mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-11 21:00:17 +01:00
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>
This commit is contained in:
parent
cc7deb749c
commit
7fce3ca375
1 changed files with 1 additions and 0 deletions
|
|
@ -91,6 +91,7 @@ xa_context_destroy(struct xa_context *r)
|
|||
}
|
||||
|
||||
r->pipe->destroy(r->pipe);
|
||||
free(r);
|
||||
}
|
||||
|
||||
XA_EXPORT int
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue