[ 04/89] fs/cifs/cifs_dfs_ref.c: fix potential memory leakage

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Cong Ding commit 10b8c7dff5d3633b69e77f57d404dab54ead3787 upstream. When it goes to error through line 144, the memory allocated to *devname is not freed, and the caller doesn't free it either

[ 04/89] fs/cifs/cifs_dfs_ref.c: fix potential memory leakage

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Cong Ding ding...@gmail.com commit 10b8c7dff5d3633b69e77f57d404dab54ead3787 upstream. When it goes to error through line 144, the memory allocated to *devname is not freed, and the caller