On 09/18/13 04:40, Li Zhong wrote:
Following Resource leak is reported by coverity: CID 997011 (#1 of 1): Resource leak (RESOURCE_LEAK)6. leaked_storage: Variable "buf" going out of scope leaks the storage it points to. 505 return(XR_EOF); Add a free(buf) to solve it. Signed-off-by: Li Zhong<zhong@xxxxxxxxxxxxxxxxxx> ---
Looks good. Reviewed-by: Mark Tinguely <tinguely@xxxxxxx> _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs