[PATCH] drm/nouveau: fix memory leak by deallocating cli/drm

2015-06-12 Thread Dongxing Zhang
] vfs_open+0x49/0x50 [] do_last+0x1ec/0x1200 [] path_openat+0x80/0x600 [] do_filp_open+0x3a/0x90 [] do_sys_open+0x128/0x220 [] SyS_open+0x1e/0x20 [] system_call_fastpath+0x16/0x75 [] 0x Signed-off-by: Dongxing Zhang --- drivers/gpu/drm/nouveau/nouveau

[PATCH] tty/vt: Fix the memory leak in visual_init

2015-06-11 Thread Dongxing Zhang
7/0x280 [] vt_ioctl+0xe65/0x1170 [] tty_ioctl+0x208/0xca0 [] do_vfs_ioctl+0x2f8/0x510 [] SyS_ioctl+0x81/0xa0 [] system_call_fastpath+0x16/0x75 [] 0xffff Signed-off-by: Dongxing Zhang Signed-off-by: Xiaoming Wang --- drivers/tty/vt/vt.c | 2 ++ 1 file changed