diff options
author | Julien Cristau <jcristau@debian.org> | 2011-02-27 15:49:12 +0100 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2011-02-27 16:00:54 +0100 |
commit | b20cfa3d4f531b612a28ea88e5f5a6b1df183ea0 (patch) | |
tree | 8efe0b57a8c97f777599e649610af9b16237b79d /src/smi_crtc.c | |
parent | 312540ac447acaf80db7e341aa75f90f3e821438 (diff) |
Replace calls to xalloc/xcalloc/xfree with malloc/calloc/free
Also don't check for NULL before calling free().
Signed-off-by: Julien Cristau <jcristau@debian.org>
Diffstat (limited to 'src/smi_crtc.c')
-rw-r--r-- | src/smi_crtc.c | 4 |
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(); } |