summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Xdamage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Xdamage.c b/src/Xdamage.c
index dc0044d..9bec8df 100644
--- a/src/Xdamage.c
+++ b/src/Xdamage.c
@@ -101,7 +101,7 @@ XDamageExtAddDisplay (XDamageExtInfo *extinfo,
*/
XExtCodes *codes = XAddExtension(dpy);
if (!codes) {
- XFree(info);
+ Xfree(info);
return NULL;
}
XESetCloseDisplay (dpy, codes->extension, XDamageCloseDisplay);