Print this page
3285 memory leaks in libsldap
*** 20,29 ****
--- 20,30 ----
*/
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
* Copyright 2012 Milan Jurik. All rights reserved.
+ * Copyright 2012 Nexenta Systems, Inc. All rights reserved.
*/
#define __STANDALONE_MODULE__
#include <stdio.h>
*** 1448,1457 ****
--- 1449,1459 ----
(void) ldap_msgfree(resultMsg);
resultMsg = NULL;
}
__s_api_conn_user_free(cu);
+ DropConnection(sessionId, NS_LDAP_NEW_CONN);
return (NS_LDAP_OP_FAILED);
}
__s_api_conn_user_free(cu);
ret_code = convert_to_door_line(session->ld,