1
0
Эх сурвалжийг харах

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 жил өмнө
parent
commit
df575d3d65

+ 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 );
 }