mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix a number of obvious memory leaks
Just the result of cppcheck and valgrind... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
12ca6112e5
commit
24c6197c10
5 changed files with 23 additions and 17 deletions
|
@ -1270,6 +1270,7 @@ static void entry(const char *name, int size, const char *raw)
|
|||
try_to_fill_dive(&cur_dive, name, buf);
|
||||
return;
|
||||
}
|
||||
free(buf);
|
||||
}
|
||||
|
||||
static const char *nodename(xmlNode *node, char *buf, int len)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue