mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fix a potential memory leak reported by Coverity
This commit is contained in:
parent
dea44003a1
commit
0b3b5e2ef2
1 changed files with 1 additions and 0 deletions
|
@ -332,6 +332,7 @@ OperationResult SQLite::DoClose(ResultCallback* cb) {
|
||||||
}
|
}
|
||||||
|
|
||||||
expire_db = nullptr;
|
expire_db = nullptr;
|
||||||
|
sqlite3_free(errmsg);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( page_count_metric )
|
if ( page_count_metric )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue