gnucash stable: [gnc-backend-dbi.cpp] if returning early, don't allocate char*
Christopher Lam
clam at code.gnucash.org
Sun Jul 2 10:18:35 EDT 2023
Updated via https://github.com/Gnucash/gnucash/commit/b011c81b (commit)
from https://github.com/Gnucash/gnucash/commit/9ee3dd95 (commit)
commit b011c81b624ac870b4b6b1967296109e7bfacc50
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Sun Jul 2 21:38:23 2023 +0800
[gnc-backend-dbi.cpp] if returning early, don't allocate char*
this function may return early causing leak from allocating
g_build_filename.
Summary of changes:
libgnucash/backend/dbi/gnc-backend-dbi.cpp | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
More information about the gnucash-patches
mailing list