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
6a1b065f
Commit
6a1b065f
authored
Jul 05, 2021
by
Mohammed Sadiq
Browse files
ma-account: Fix memory leaks
parent
101da225
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/matrix/chatty-ma-account.c
View file @
6a1b065f
...
...
@@ -829,8 +829,14 @@ chatty_ma_account_finalize (GObject *object)
g_clear_object
(
&
self
->
device_fp
);
g_clear_object
(
&
self
->
chat_list
);
g_clear_object
(
&
self
->
avatar
);
g_clear_object
(
&
self
->
matrix_db
);
g_clear_object
(
&
self
->
history_db
);
g_clear_pointer
(
&
self
->
db_chat_list
,
g_ptr_array_unref
);
g_free
(
self
->
name
);
g_free
(
self
->
pickle_key
);
g_free
(
self
->
next_batch
);
G_OBJECT_CLASS
(
chatty_ma_account_parent_class
)
->
finalize
(
object
);
}
...
...
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