summaryrefslogtreecommitdiff
path: root/geometry.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-26 22:49:11 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-26 22:49:11 +0000
commita153e2624e9e3e7b06fad207e8855bea617ac088 (patch)
tree61b33bfceb94acec99084a416397d2838018b160 /geometry.c
parentae4c01f83c60e931983c74d6285c6a22e3c33034 (diff)
merge latest (4.3.99.16) from XFree86 (vendor) branch
Diffstat (limited to 'geometry.c')
-rw-r--r--geometry.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/geometry.c b/geometry.c
index 2cffc33..6a249de 100644
--- a/geometry.c
+++ b/geometry.c
@@ -24,7 +24,7 @@
THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/
-/* $XFree86: xc/programs/xkbcomp/geometry.c,v 1.4 2002/06/05 00:00:37 dawes Exp $ */
+/* $XFree86: xc/programs/xkbcomp/geometry.c,v 1.5 2003/08/06 14:04:05 eich Exp $ */
#include "xkbcomp.h"
#include "tokens.h"
@@ -280,11 +280,11 @@ PropertyInfo * next;
info->nProps= 0;
}
for (tmp=pi;tmp!=NULL;tmp=next) {
- if (pi->name)
- uFree(pi->name);
- if (pi->value)
- uFree(pi->value);
- pi->name= pi->value=NULL;
+ if (tmp->name)
+ uFree(tmp->name);
+ if (tmp->value)
+ uFree(tmp->value);
+ tmp->name= tmp->value=NULL;
next= (PropertyInfo *)tmp->defs.next;
uFree(tmp);
}