* [PATCH obexd] client: Fix possible memory leak on pbap module
@ 2012-04-18 13:51 Luiz Augusto von Dentz
2012-04-23 10:33 ` Johan Hedberg
0 siblings, 1 reply; 2+ messages in thread
From: Luiz Augusto von Dentz @ 2012-04-18 13:51 UTC (permalink / raw)
To: linux-bluetooth
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
16 bytes in 1 blocks are definitely lost in loss record 26 of 146
at 0x4A075B2: realloc (vg_replace_malloc.c:525)
by 0x3B5104B76D: g_realloc (in /lib64/libglib-2.0.so.0.3000.2)
by 0x3B51064A96: ??? (in /lib64/libglib-2.0.so.0.3000.2)
by 0x3B51065156: g_string_insert_len (in /lib64/libglib-2.0.so.0.3000.2)
by 0x3B510305BC: ??? (in /lib64/libglib-2.0.so.0.3000.2)
by 0x3B51031BE7: g_build_filename (in /lib64/libglib-2.0.so.0.3000.2)
by 0x416FEE: pbap_select (pbap.c:254)
by 0x406CCE: process_message (object.c:224)
by 0x3B5301D9A0: ??? (in /lib64/libdbus-1.so.3.5.6)
by 0x3B5300F92F: dbus_connection_dispatch (in /lib64/libdbus-1.so.3.5.6)
---
client/pbap.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/client/pbap.c b/client/pbap.c
index 85f970b..f8a72b0 100644
--- a/client/pbap.c
+++ b/client/pbap.c
@@ -979,6 +979,7 @@ static void pbap_free(void *data)
struct pbap_data *pbap = data;
obc_session_unref(pbap->session);
+ g_free(pbap->path);
g_free(pbap);
}
--
1.7.7.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH obexd] client: Fix possible memory leak on pbap module
2012-04-18 13:51 [PATCH obexd] client: Fix possible memory leak on pbap module Luiz Augusto von Dentz
@ 2012-04-23 10:33 ` Johan Hedberg
0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2012-04-23 10:33 UTC (permalink / raw)
To: Luiz Augusto von Dentz; +Cc: linux-bluetooth
Hi Luiz,
On Wed, Apr 18, 2012, Luiz Augusto von Dentz wrote:
> 16 bytes in 1 blocks are definitely lost in loss record 26 of 146
> at 0x4A075B2: realloc (vg_replace_malloc.c:525)
> by 0x3B5104B76D: g_realloc (in /lib64/libglib-2.0.so.0.3000.2)
> by 0x3B51064A96: ??? (in /lib64/libglib-2.0.so.0.3000.2)
> by 0x3B51065156: g_string_insert_len (in /lib64/libglib-2.0.so.0.3000.2)
> by 0x3B510305BC: ??? (in /lib64/libglib-2.0.so.0.3000.2)
> by 0x3B51031BE7: g_build_filename (in /lib64/libglib-2.0.so.0.3000.2)
> by 0x416FEE: pbap_select (pbap.c:254)
> by 0x406CCE: process_message (object.c:224)
> by 0x3B5301D9A0: ??? (in /lib64/libdbus-1.so.3.5.6)
> by 0x3B5300F92F: dbus_connection_dispatch (in /lib64/libdbus-1.so.3.5.6)
> ---
> client/pbap.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
Applied. Thanks.
Johan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-23 10:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-18 13:51 [PATCH obexd] client: Fix possible memory leak on pbap module Luiz Augusto von Dentz
2012-04-23 10:33 ` Johan Hedberg
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.