diff options
author | marha <marha@users.sourceforge.net> | 2010-06-14 12:29:39 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-06-14 12:29:39 +0000 |
commit | 0cf9b03f4990f61640dc35dfac250f929b57b4ed (patch) | |
tree | f4a96a254237696f58d46c150c12f289e5a15701 /xorg-server/xkb/ddxList.c | |
parent | ea5824c767121c3c97f587a9dfb63a87b442032b (diff) | |
download | vcxsrv-0cf9b03f4990f61640dc35dfac250f929b57b4ed.tar.gz vcxsrv-0cf9b03f4990f61640dc35dfac250f929b57b4ed.tar.bz2 vcxsrv-0cf9b03f4990f61640dc35dfac250f929b57b4ed.zip |
xserver git update 14/6/2010
Diffstat (limited to 'xorg-server/xkb/ddxList.c')
-rw-r--r-- | xorg-server/xkb/ddxList.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xorg-server/xkb/ddxList.c b/xorg-server/xkb/ddxList.c index 927b885fb..ce3445bda 100644 --- a/xorg-server/xkb/ddxList.c +++ b/xorg-server/xkb/ddxList.c @@ -208,10 +208,7 @@ char tmpname[PATH_MAX]; return BadImplementation;
}
list->nFound[what]= 0;
- if (buf) {
- free(buf);
- buf = NULL;
- }
+ free(buf);
buf = malloc(PATH_MAX * sizeof(char));
if (!buf)
return BadAlloc;
|