]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
capifs: fix memory leak on remount
authorCyrill Gorcunov <gorcunov@gmail.com>
Mon, 28 Apr 2008 09:14:41 +0000 (02:14 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:34 +0000 (08:58 -0700)
commitc24e9b3fa3fdfca3834eba0bb217c8c197a43b7e
tree1b86c5238426d9d09595466cb4fe393d218b8b4e
parent30d55e71a81b1f5a8136f191dc9f4c21f18e77e6
capifs: fix memory leak on remount

capifs_remount may reach 'return' statement without freeing of memory
allocated by kstrdup call

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/isdn/capi/capifs.c