summaryrefslogtreecommitdiff
path: root/src/smi_crtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/smi_crtc.c')
-rw-r--r--src/smi_crtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/smi_crtc.c b/src/smi_crtc.c
index 2bcdc0a..e82f2d8 100644
--- a/src/smi_crtc.c
+++ b/src/smi_crtc.c
@@ -170,8 +170,8 @@ SMI_CrtcDestroy (xf86CrtcPtr crtc)
{
ENTER();
- xfree(SMICRTC(crtc));
- xfree(crtc->funcs);
+ free(SMICRTC(crtc));
+ free((xf86CrtcFuncsPtr)crtc->funcs);
LEAVE();
}