glx: fix duplicate tagInfo->vendor = NULL assignment

Assisted-by: Claude:claude-opus-4-6
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2226>
This commit is contained in:
Peter Hutterer 2026-06-01 21:01:58 +10:00 committed by Marge Bot
parent 4809a5e4b8
commit 66c4a2a6af

View file

@ -158,7 +158,7 @@ GlxContextTagInfo *GlxLookupContextTag(ClientPtr client, GLXContextTag tag)
void GlxFreeContextTag(GlxContextTagInfo *tagInfo)
{
if (tagInfo != NULL) {
tagInfo->vendor = NULL;
tagInfo->client = NULL;
tagInfo->vendor = NULL;
tagInfo->data = NULL;
tagInfo->context = None;