fix more memory leaks

Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
This commit is contained in:
Steffen Jaeckel
2022-12-30 19:36:53 +01:00
parent 698aefa005
commit e886ba0c6f
7 changed files with 38 additions and 23 deletions

View File

@@ -56,7 +56,7 @@ get_message_from_editor(gchar* message, gchar** returned_message)
gchar* filename = NULL;
GError* glib_error = NULL;
char* jid = connection_get_barejid();
auto_char char* jid = connection_get_barejid();
if (jid) {
filename = files_file_in_account_data_path(DIR_EDITOR, jid, "compose.md");
} else {