Commit: 31ce1e9a5bd92b15a811c8b7450f01a7b36075f7
Parent: ca769001a80d713050e071ca08c16fc4bde7643d
Author: Steve Grubb <sgrubb@redhat.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2021-05-15 03:05:28
Tree: e394a40d4ac9326c215a8d3d70b7e7fb4aaad06e

tools: Fix memory leaks req is allocated memory that must be freed. It appears all other error paths got fail which handles this. g_new0 allocates memory to data which must be freed. g_malloc0 allocates memory to comp which must be freed.

Diffstat

M tools/mesh-cfgclient.c | 2 +-
M tools/mesh-gatt/gatt.c | 1 +
M tools/mesh-gatt/node.c | 12 +++++++++- - -

3 files changed, 11 insertions(+), 4 deletions(-)

View Full Diff | Patch