소스 검색

Bug 644784 - Memory leak in "testbind.c" plugin

https://bugzilla.redhat.com/show_bug.cgi?id=644784
Resolves: bug 644784
Bug Description: Memory leak in "testbind.c" plugin
Reviewed by: rmeggins (submitted by [email protected])
Branch: master
Fix Description: Free the entry
Platforms tested: RHEL6 x86_64
Flag Day: no
Doc impact: no
Rich Megginson 14 년 전
부모
커밋
df575d3d65
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      ldap/servers/slapd/test-plugins/testbind.c

+ 1 - 0
ldap/servers/slapd/test-plugins/testbind.c

@@ -216,6 +216,7 @@ test_bind( Slapi_PBlock *pb )
 		break;
 	}
 
+	slapi_entry_free( e );
 	slapi_send_ldap_result( pb, rc, NULL, NULL, 0, NULL );
 	return( 1 );
 }