I would suggest you add the call to msgfree to the code fragment in the documentation for next_changed_entries. I had the msgfree OUTSIDE the loop because I was worried that msgfree would mess up the ldap object's listening. To avoid other users making that sort of mistake in the future, adding the msgfree call in the documentation for next_changed_entries would be helpful.
I would suggest you add the call to
msgfree
to the code fragment in the documentation fornext_changed_entries
. I had themsgfree
OUTSIDE the loop because I was worried thatmsgfree
would mess up the ldap object's listening. To avoid other users making that sort of mistake in the future, adding themsgfree
call in the documentation fornext_changed_entries
would be helpful.In other words, change this
to this