From e886ba0c6fed433b561c4d0efb4f91b0681aa788 Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Fri, 30 Dec 2022 19:36:53 +0100 Subject: fix more memory leaks Signed-off-by: Steffen Jaeckel --- src/tools/editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tools') diff --git a/src/tools/editor.c b/src/tools/editor.c index 4ac88a95..350fb5b1 100644 --- a/src/tools/editor.c +++ b/src/tools/editor.c @@ -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 { -- cgit