Skip to content

create_principal extension + don't leak memory when raising errors#21

Closed
denys-duchier wants to merge 2 commits intorjancewicz:masterfrom
denys-duchier:master
Closed

create_principal extension + don't leak memory when raising errors#21
denys-duchier wants to merge 2 commits intorjancewicz:masterfrom
denys-duchier:master

Conversation

@denys-duchier
Copy link

Hi, I started using your code to script updates to our kerberos server and I find it very convenient. For create_principal, I needed to pass a db option to say where to store it in our LDAP database (I am using a "x" keyword argument for that purpose, like the -x option in the kadmin tool).

As I was looking over the code, it seemed to me that it would often leak memory when using PyKAdmin_RETURN_ERROR. So I tried to fix that too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants