Skip to content
Snippets Groups Projects
Commit 7fce3ca3 authored by Thomas Hellstrom's avatar Thomas Hellstrom
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>
parent cc7deb74
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