2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 11:44:01 +08:00
linux-next/drivers/staging/speakup
Jesper Juhl fafbc202cd staging: speakup: i18n.c: Fix leak in msg_set()
If we end up returning -EINVAL from the function we will leak the
memory allocated to 'newstr' which has been allocated but not yet
assigned to anything.
Fix the leak by properly freeing the memory again before we return.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-08-13 19:32:13 -07:00
..
buffers.c
DefaultKeyAssignments
devsynth.c drivers/staging/speakup/devsynth.c: fix "buffer size is not provably correct" error 2011-08-02 16:09:46 -07:00
fakekey.c
i18n.c staging: speakup: i18n.c: Fix leak in msg_set() 2012-08-13 19:32:13 -07:00
i18n.h
Kconfig
keyhelp.c
kobjects.c Staging: speakup: Use kmemdup rather than duplicating its implementation 2011-11-26 18:12:56 -08:00
main.c Staging: speakup: fix an improperly-declared variable. 2012-06-18 17:13:06 -07:00
Makefile
selection.c staging: speakup: fixed checkpatch and sparse warnings in selection.c 2012-06-13 12:20:16 -07:00
serialio.c TTY: speakup, do not use serialP 2012-03-08 11:47:02 -08:00
serialio.h TTY: speakup, do not use serialP 2012-03-08 11:47:02 -08:00
speakup_acnt.h staging "speakup" Fix typos. 2012-07-09 13:06:21 -07:00
speakup_acntpc.c
speakup_acntsa.c
speakup_apollo.c
speakup_audptr.c
speakup_bns.c
speakup_decext.c
speakup_decpc.c staging "speakup" Fix typos. 2012-07-09 13:06:21 -07:00
speakup_dectlk.c
speakup_dtlk.c
speakup_dtlk.h
speakup_dummy.c
speakup_keypc.c
speakup_ltlk.c
speakup_soft.c staging: speakup: Use kstrtoul_from_user 2011-06-28 14:35:41 -07:00
speakup_spkout.c
speakup_txprt.c
speakup.h module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
speakupmap.h
speakupmap.map
spk_priv_keyinfo.h
spk_priv.h TTY: speakup, do not use serialP 2012-03-08 11:47:02 -08:00
spk_types.h
spkguide.txt
synth.c staging "speakup" Fix typos. 2012-07-09 13:06:21 -07:00
thread.c
TODO
varhandlers.c