diff options
-rw-r--r-- | randr/rrmode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/randr/rrmode.c b/randr/rrmode.c index d5072084a..2fa440385 100644 --- a/randr/rrmode.c +++ b/randr/rrmode.c @@ -320,7 +320,8 @@ ProcRRCreateMode (ClientPtr client) swapl(&rep.mode, n); } WriteToClient(client, sizeof(xRRCreateModeReply), (char *)&rep); - + /* Drop out reference to this mode */ + RRModeDestroy (mode); return client->noClientException; } |