Skip to content
Snippets Groups Projects
Commit c2a22a44 authored by Thomas Hellstrom's avatar Thomas Hellstrom Committed by Emil Velikov
Browse files

st/xa: Fix a memory leak


Free the context after destruction.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: default avatarSinclair Yeh <syeh@vmware.com>
Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
(cherry picked from commit 7fce3ca3)
parent fe460ee8
No related branches found
No related tags found
Loading
......@@ -91,6 +91,7 @@ xa_context_destroy(struct xa_context *r)
}
r->pipe->destroy(r->pipe);
free(r);
}
XA_EXPORT int
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment