Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Evangelos Ribeiro Tzaras
chatty
Commits
98f3a18b
Commit
98f3a18b
authored
Aug 10, 2020
by
Mohammed Sadiq
Committed by
Mohammed Sadiq
Aug 19, 2020
Browse files
history: Close database right
We were always passing NULL as db
parent
18c0f8f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/chatty-history.c
View file @
98f3a18b
...
...
@@ -284,7 +284,7 @@ history_close_db (ChattyHistory *self,
db
=
self
->
db
;
self
->
db
=
NULL
;
status
=
sqlite3_close
(
self
->
db
);
status
=
sqlite3_close
(
db
);
if
(
status
==
SQLITE_OK
)
{
/*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment