diff options
author | marha <marha@users.sourceforge.net> | 2010-06-14 13:15:50 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-06-14 13:15:50 +0000 |
commit | e2eb44705a8e4886d81b75c12e68aaebe9946439 (patch) | |
tree | 00639c4f594cdaf4cb08d30dfdb4d4a4e38bc16c /xorg-server/xkb/ddxList.c | |
parent | 2dc9ef67a51796a1e25bd31eb58663a8023ddd80 (diff) | |
parent | 0cf9b03f4990f61640dc35dfac250f929b57b4ed (diff) | |
download | vcxsrv-e2eb44705a8e4886d81b75c12e68aaebe9946439.tar.gz vcxsrv-e2eb44705a8e4886d81b75c12e68aaebe9946439.tar.bz2 vcxsrv-e2eb44705a8e4886d81b75c12e68aaebe9946439.zip |
svn merge ^/branches/released .
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 b148c714f..e4e32075b 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)
{
|