summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2023-02-27 06:30:20 +0100
committerStefan Kangas <stefankangas@gmail.com>2023-02-27 06:30:20 +0100
commitc640dc9ef533c1fa68cf7b29f63a3fb32e4c3b06 (patch)
treec15d896782c119376efa5a20f74e729a0fd25c22 /lib-src
parent6c4abbab7999f55792a323e4bb1eb55ef5a7b990 (diff)
parent267fc6d00c4db6f20da3c2d63e48a71ab70505d3 (diff)
downloademacs-c640dc9ef533c1fa68cf7b29f63a3fb32e4c3b06.tar.gz
Merge from origin/emacs-29
267fc6d00c4 ruby-smie-rules: Fix misindentation of a method call afte... 0fde314f6f6 * lib-src/etags.c (process_file_name): Free malloc'ed var... dde9d149af3 ; Improve documentation of loading *.eln files 7c552be89da ; Another doc fix in eglot.el 75c65fcc98e ; Fix last change a3d15c1f749 ; Fix last change ca79b138d42 Eglot: rename and redocument encoding-related functions (... 3e3e6d71be7 Eglot: support positionEncoding LSP capability (bug#61726) b0e87e930e8 Eglot: use faster strategy for moving to LSP positions (b... 5b174b96834 Fix mule-tests in UTF-8 locales 5256392a7ec Fix 'vertical-motion' when display strings are around 0db88d625a7 ; * src/treesit.c (treesit_predicate_match): Fix typo.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/etags.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c
index 2628849d78e..cb842dbf669 100644
--- a/lib-src/etags.c
+++ b/lib-src/etags.c
@@ -1732,6 +1732,8 @@ process_file_name (char *file, language *lang)
char *cmd = xmalloc (buf_len);
snprintf (cmd, buf_len, "%s %s > %s",
compr->command, new_real_name, new_tmp_name);
+ free (new_real_name);
+ free (new_tmp_name);
#endif
inf = (system (cmd) == -1
? NULL