From 5535ace6ea7c027b31623f736980fb7641159ddd Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Mon, 2 Jan 2023 20:31:20 -0600 Subject: [PATCH] krb5: Fix ignored error in SCC: ccache --- lib/krb5/scache.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/krb5/scache.c b/lib/krb5/scache.c index 7a3966494..479c58b8f 100644 --- a/lib/krb5/scache.c +++ b/lib/krb5/scache.c @@ -1285,6 +1285,9 @@ scc_remove_cred(krb5_context context, sqlite3_finalize(stmt); + if (ret) + return ret; + ret = prepare_stmt(context, s->db, &stmt, "DELETE FROM credentials WHERE oid=?"); if (ret)