diff options
author | Steffen Jaeckel <jaeckel-floss@eyet-services.de> | 2022-12-30 19:36:53 +0100 |
---|---|---|
committer | Steffen Jaeckel <jaeckel-floss@eyet-services.de> | 2023-01-18 20:11:13 +0100 |
commit | e886ba0c6fed433b561c4d0efb4f91b0681aa788 (patch) | |
tree | 24a674bb737d5303ecd755e6f3c03a7407ad9ee1 /src/tools | |
parent | 698aefa005d5a74b2570f6ce17f2d7712bff3e4e (diff) | |
download | profani-tty-e886ba0c6fed433b561c4d0efb4f91b0681aa788.tar.gz |
fix more memory leaks
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/editor.c | 2 |
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 { |