OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff78cb8
)
gobex: Fix decoding error memory leak
author
Johan Hedberg
<johan.hedberg@intel.com>
Wed, 29 Jun 2011 13:01:39 +0000
(16:01 +0300)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 4 Dec 2012 21:21:57 +0000
(22:21 +0100)
gobex/gobex.c
patch
|
blob
|
history
diff --git
a/gobex/gobex.c
b/gobex/gobex.c
index
1c1f413
..
43d67ec
100644
(file)
--- a/
gobex/gobex.c
+++ b/
gobex/gobex.c
@@
-416,6
+416,9
@@
static gboolean incoming_data(GIOChannel *io, GIOCondition cond,
g_obex_handle_packet(obex, err, pkt);
+ if (err != NULL)
+ g_error_free(err);
+
if (pkt != NULL)
g_obex_packet_free(pkt);