xkbcomp/keymap: remove useless free()
Signed-off-by: Ran Benita <ran234@gmail.com>master
parent
c43c3c866e
commit
96a29ede77
|
@ -257,10 +257,8 @@ CompileKeymap(XkbFile *file, struct xkb_keymap *keymap, enum merge_mode merge)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!file->topName) {
|
if (!file->topName)
|
||||||
free(file->topName);
|
|
||||||
file->topName = strdup(main_name);
|
file->topName = strdup(main_name);
|
||||||
}
|
|
||||||
|
|
||||||
files[file->file_type] = file;
|
files[file->file_type] = file;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue