diff --git a/lib/backend/sqlite.c b/lib/backend/sqlite.c index 7c2de45aa..dbefeb163 100644 --- a/lib/backend/sqlite.c +++ b/lib/backend/sqlite.c @@ -233,6 +233,7 @@ static int sqlexec(sqlite3 *sdb, const char *fmt, ...) rpmlog(RPMLOG_DEBUG, "%s: %d\n", cmd, rc); sqlite3_free(cmd); + sqlite3_free(err); return rc ? RPMRC_FAIL : RPMRC_OK; }