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:
a757964
)
android/hidhost: Fix memory leak
author
Andrei Emeltchenko
<andrei.emeltchenko@intel.com>
Wed, 13 Nov 2013 14:29:33 +0000
(16:29 +0200)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Wed, 13 Nov 2013 14:47:38 +0000
(16:47 +0200)
android/hidhost.c
patch
|
blob
|
history
diff --git
a/android/hidhost.c
b/android/hidhost.c
index
f5a1b14
..
abb3e46
100644
(file)
--- a/
android/hidhost.c
+++ b/
android/hidhost.c
@@
-1137,6
+1137,7
@@
static void connect_cb(GIOChannel *chan, GError *err, gpointer user_data)
if (err) {
error("%s", gerr->message);
g_io_channel_shutdown(chan, TRUE, NULL);
+ g_error_free(gerr);
return;
}