diff options
author | Daniel Stone <daniel@fooishbar.org> | 2010-12-17 16:48:45 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-12-27 09:43:56 -0800 |
commit | 469d5bf8b75038631c27edbb0f9cdf7d737fa233 (patch) | |
tree | b71c896afe2245586cf3b32cc54dfa5d115ea336 /miext/sync | |
parent | 44adb31bfece29260a9bbd9075c9212ebf00d24d (diff) |
mi: Sync: Don't free managed screen private
misync allocates space for its screen private with
dixRegisterPrivateKey, which means it doesn't have to free it at
CloseScreen time; doing so will, in fact, result in a crash.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: James Jones <jajones@nvidia.com>
Acked-by: Tiago Vignatti <tiago.vignatti@nokia.com>
Diffstat (limited to 'miext/sync')
-rw-r--r-- | miext/sync/misync.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/miext/sync/misync.c b/miext/sync/misync.c index bcc68a2bb..50226d9e3 100644 --- a/miext/sync/misync.c +++ b/miext/sync/misync.c @@ -167,7 +167,6 @@ SyncCloseScreen (int i, ScreenPtr pScreen) SyncScreenPrivPtr pScreenPriv = SYNC_SCREEN_PRIV(pScreen); pScreen->CloseScreen = pScreenPriv->CloseScreen; - free(pScreenPriv); return (*pScreen->CloseScreen) (i, pScreen); } |