rjancewicz / python-kadmin

Python module for kerberos admin (kadm5)
MIT License
35 stars 40 forks source link

Fix a segfault when calling .principal_exists with an invalid principal #38

Closed ghost closed 9 years ago

ghost commented 9 years ago

'entry' is never intialized if the principal is not found, so don't try to free it in that case.