Project

General

Profile

Bug #11262 ยป 0001-NEX-20071-Memory-leak-in-SMB-client.patch

Gordon Ross, 2019-06-19 03:25 PM

View differences:

usr/src/uts/common/fs/smbclnt/netsmb/smb_usr.c
36 36
 * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
37 37
 * Use is subject to license terms.
38 38
 *
39
 * Copyright 2018 Nexenta Systems, Inc.  All rights reserved.
39
 * Copyright 2019 Nexenta by DDN, Inc. All rights reserved.
40 40
 */
41 41

  
42 42
#include <sys/param.h>
......
180 180

  
181 181
out:
182 182
	kmem_free(ioc, sizeof (*ioc));
183
	md_done(&recv_md);
184
	mb_done(&send_mb);
183 185

  
184 186
	return (err);
185 187
}
    (1-1/1)