programs/Xserver/Xext/saver.c Fix for XFree86 bugzilla #1224.

This commit is contained in:
Matthieu Herrb 2004-10-10 17:48:43 +00:00
parent fa9847aeb9
commit ca1fda2a3f

View File

@ -1,4 +1,4 @@
/* $XdotOrg$ */ /* $XdotOrg: xc/programs/Xserver/Xext/saver.c,v 1.2 2004/04/23 18:44:41 eich Exp $ */
/* /*
* $XConsortium: saver.c,v 1.12 94/04/17 20:59:36 dpw Exp $ * $XConsortium: saver.c,v 1.12 94/04/17 20:59:36 dpw Exp $
* *
@ -1166,8 +1166,8 @@ PatchUp:
FreeAttrs (pAttr); FreeAttrs (pAttr);
bail: bail:
CheckScreenPrivate (pScreen); CheckScreenPrivate (pScreen);
if (pAttr) xfree (pAttr->values);
xfree (pAttr); xfree (pAttr);
xfree (values);
return ret; return ret;
} }