[geany/geany] 55aea4: Merge pull request #3187 from techee/docbook_leak

Jiří Techet git-noreply at geany.org
Sun May 1 10:03:54 UTC 2022


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   GitHub <noreply at github.com>
Date:        Sun, 01 May 2022 10:03:54 UTC
Commit:      55aea4cb243decf288b7ae0c397a120d6c5b806a
             https://github.com/geany/geany/commit/55aea4cb243decf288b7ae0c397a120d6c5b806a

Log Message:
-----------
Merge pull request #3187 from techee/docbook_leak

Fix docbook parser memory leak


Modified Paths:
--------------
    ctags/parsers/geany_docbook.c

Modified: ctags/parsers/geany_docbook.c
2 lines changed, 2 insertions(+), 0 deletions(-)
===================================================================
@@ -78,6 +78,8 @@ static void createTag(docbookKind kind, const char *buf)
 		++buf;
 	} while ((*buf != '\0') && (*buf != '"'));
 	makeSimpleTag(name, kind);
+
+	vStringDelete(name);
 }
 
 



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list