jeremycx/node-LDAP — pull request #38 by chotiwat (2013-09-05 09:54:02+00:00)
Title: Fix memory leak upon reconnect

This pull request fixes 2 issues:

1. If the ldap server is down, each reconnect() call will cause additional 2 reconnect() calls, one from setCallback() and another from the callback passed to open().
2. If bind fails, c->ld will never gets freed.