diff options
author | Emmanuel Vasilakis <mrzammler@mm.st> | 2023-06-23 22:09:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-23 22:09:46 +0300 |
commit | 65dd873c87642f2d54354e0d527043588eb65192 (patch) | |
tree | 03b2b98c8aa389ab9ffddb729cae5015d0e541ec /database | |
parent | a4388eb84d5916c011c1c0bceef5e1835c3bd4b7 (diff) |
Fix coverity 393183 & 393182 (#15234)
fix coverity 393183 393182
Diffstat (limited to 'database')
-rw-r--r-- | database/sqlite/sqlite_aclk_alert.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/database/sqlite/sqlite_aclk_alert.c b/database/sqlite/sqlite_aclk_alert.c index c58bf4bd47..7ef9ef8fb1 100644 --- a/database/sqlite/sqlite_aclk_alert.c +++ b/database/sqlite/sqlite_aclk_alert.c @@ -309,6 +309,8 @@ void aclk_push_alert_event(struct aclk_sync_host_config *wc) if (unlikely(rc != SQLITE_OK)) { error_report("Failed to bind host_id for pushing alert event."); sqlite3_finalize(res); + buffer_free(sql); + freez(claim_id); return; } |