diff options
-rw-r--r-- | randr/rroutput.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/randr/rroutput.c b/randr/rroutput.c index 1e1cfa5a9..a67e4931a 100644 --- a/randr/rroutput.c +++ b/randr/rroutput.c @@ -249,6 +249,7 @@ RROutputDeleteUserMode (RROutputPtr output, memmove (output->userModes + m, output->userModes + m + 1, (output->numUserModes - m - 1) * sizeof (RRModePtr)); + output->numUserModes--; RRModeDestroy (mode); return Success; } |