[geany/geany] 278177: Fix docbook parser memory leak
Jiří Techet
git-noreply at geany.org
Sat Apr 30 14:13:21 UTC 2022
Branch: refs/heads/master
Author: Jiří Techet <techet at gmail.com>
Committer: Jiří Techet <techet at gmail.com>
Date: Sat, 30 Apr 2022 14:13:21 UTC
Commit: 278177450081a1a7665ae79849708736de519d63
https://github.com/geany/geany/commit/278177450081a1a7665ae79849708736de519d63
Log Message:
-----------
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