c81e99cd01
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/kbd#02a2eb26c9357fb02eb951933facff4c6d5c3353
12 lines
444 B
Diff
12 lines
444 B
Diff
diff -up kbd-2.3.0/src/libkfont/kdmapop.c.orig kbd-2.3.0/src/libkfont/kdmapop.c
|
|
--- kbd-2.3.0/src/libkfont/kdmapop.c.orig 2020-04-27 17:53:01.000000000 +0200
|
|
+++ kbd-2.3.0/src/libkfont/kdmapop.c 2020-07-16 09:06:45.246742724 +0200
|
|
@@ -166,6 +166,7 @@ kfont_get_unicodemap(struct kfont_contex
|
|
|
|
if (ioctl(fd, GIO_UNIMAP, &ud)) {
|
|
KFONT_ERR(ctx, "ioctl(GIO_UNIMAP): %m");
|
|
+ free(ud.entries);
|
|
return -1;
|
|
}
|
|
if (ct != ud.entry_ct)
|