diff options
Diffstat (limited to 'dbe')
-rw-r--r-- | dbe/dbe.c | 4 | ||||
-rw-r--r-- | dbe/dbestruct.h | 4 |
2 files changed, 1 insertions, 7 deletions
@@ -1450,7 +1450,6 @@ DbeResetProc(ExtensionEntry *extEntry) if (pDbeScreenPriv->ResetProc) (*pDbeScreenPriv->ResetProc)(pScreen); - dixFreePrivates(pDbeScreenPriv->devPrivates); free(pDbeScreenPriv); } } @@ -1589,8 +1588,7 @@ DbeExtensionInit(void) pScreen = screenInfo.screens[i]; - if (!(pDbeScreenPriv = - (DbeScreenPrivPtr)calloc(1, sizeof(DbeScreenPrivRec)))) + if (!(pDbeScreenPriv = malloc (sizeof (DbeScreenPrivRec)))) { /* If we can not alloc a window or screen private, * then free any privates that we already alloc'ed and return diff --git a/dbe/dbestruct.h b/dbe/dbestruct.h index 002ffbeb2..ba6b56d79 100644 --- a/dbe/dbestruct.h +++ b/dbe/dbestruct.h @@ -217,10 +217,6 @@ typedef struct _DbeScreenPrivRec ScreenPtr /*pScreen*/ ); - /* Device-specific private information. - */ - PrivateRec *devPrivates; - } DbeScreenPrivRec, *DbeScreenPrivPtr; #endif /* DBE_STRUCT_H */ |