diff --git a/lib/krb5.c b/lib/krb5.c index 8b5a24720d..46c56085bb 100644 --- a/lib/krb5.c +++ b/lib/krb5.c @@ -265,6 +265,7 @@ krb5_auth(void *app_data, struct connectdata *conn) result = CURLE_OUT_OF_MEMORY; free(p); + free(cmd); if(result) { ret = -2;