Fix leak in xkbcomp.c
Accidentally regressed this one briefly, oops. Signed-off-by: Daniel Stone <daniel@fooishbar.org>master
parent
54aa839c0e
commit
3d38da0c5b
|
@ -207,13 +207,11 @@ compile_keymap(XkbFile *file, const char *mapName)
|
|||
if (!xkb)
|
||||
goto err;
|
||||
|
||||
return xkb;
|
||||
|
||||
err:
|
||||
FreeXKBFile(file);
|
||||
free(scanFile);
|
||||
XkbFreeIncludePath();
|
||||
return NULL;
|
||||
return xkb;
|
||||
}
|
||||
|
||||
struct xkb_desc *
|
||||
|
|
Loading…
Reference in New Issue