about summary refs log tree commit diff stats
path: root/src/tools/editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/editor.c')
-rw-r--r--src/tools/editor.c2
1 files changed, 1 insertions, 1 deletions
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 {