mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix the remaining static analysis warnings.
Except two incorrect leak warnings and one about mktemp being insecure in the XML backend. See the respective comments about those.
This commit is contained in:
@@ -722,6 +722,8 @@ static GncTaxTable *gncTaxTableCopy (const GncTaxTable *table)
|
||||
GncTaxTableEntry *entry, *e;
|
||||
entry = list->data;
|
||||
e = gncTaxTableEntryCopy (entry);
|
||||
/* Clang static analyzer thinks we're leaking e, but we're not.
|
||||
* We're transferring it to table. */
|
||||
gncTaxTableAddEntry (t, e);
|
||||
}
|
||||
return t;
|
||||
|
||||
Reference in New Issue
Block a user