summaryrefslogtreecommitdiff
path: root/dbe
diff options
context:
space:
mode:
Diffstat (limited to 'dbe')
-rw-r--r--dbe/dbe.c4
-rw-r--r--dbe/dbestruct.h4
2 files changed, 1 insertions, 7 deletions
diff --git a/dbe/dbe.c b/dbe/dbe.c
index b28b3a0e6..a49a46d69 100644
--- a/dbe/dbe.c
+++ b/dbe/dbe.c
@@ -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 */