Martin Kosek wrote:
This patch fixes 2 coverity issues:
  * ipa-client/config.c: CID 11090: Resource leak
  * ipa-client/ipa-getkeytab.c: CID 11018: Unchecked return value

https://fedorahosted.org/freeipa/ticket/2035

You don't need to test a variable before you free it, so you can just call free(data).

Since we are capturing the kerberos error should it be displayed as well in ipa-getkeytab?

rob

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to