bluez/gobex
Tedd Ho-Jeong An 8fe1e5e165 gobex: Fix read from pointer after free
This patch sets the pointer to null after free since the g_free(p)
doesn't set the pointer to NULL.

This is reported by the Coverity.

Fixes: 7e7d826aa1 ("gobex: Print error if data cannot be written")
2022-02-18 13:25:57 -08:00
..
gobex-apparam.c gobex: Add SPDX License Identifier 2020-09-21 16:19:34 -07:00
gobex-apparam.h gobex: Add SPDX License Identifier 2020-09-21 16:19:34 -07:00
gobex-debug.h gobex: Add SPDX License Identifier 2020-09-21 16:19:34 -07:00
gobex-defs.c gobex: Add SPDX License Identifier 2020-09-21 16:19:34 -07:00
gobex-defs.h gobex: Add SPDX License Identifier 2020-09-21 16:19:34 -07:00
gobex-header.c build: Replace use of g_memdup with util_memdup 2022-01-06 12:58:39 -08:00
gobex-header.h gobex: Add SPDX License Identifier 2020-09-21 16:19:34 -07:00
gobex-packet.c build: Replace use of g_memdup with util_memdup 2022-01-06 12:58:39 -08:00
gobex-packet.h gobex: Add SPDX License Identifier 2020-09-21 16:19:34 -07:00
gobex-transfer.c gobex: Add SPDX License Identifier 2020-09-21 16:19:34 -07:00
gobex.c gobex: Fix read from pointer after free 2022-02-18 13:25:57 -08:00
gobex.h gobex: Add SPDX License Identifier 2020-09-21 16:19:34 -07:00