projects
/
platform
/
upstream
/
neard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1934265
)
netlink: Fix memory leak when handling netlink events
author
Vinicius Costa Gomes
<vinicius.gomes@openbossa.org>
Mon, 21 May 2012 17:59:40 +0000
(14:59 -0300)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Fri, 25 May 2012 12:50:58 +0000
(14:50 +0200)
src/netlink.c
patch
|
blob
|
history
diff --git
a/src/netlink.c
b/src/netlink.c
index
b0c01be
..
141d511
100644
(file)
--- a/
src/netlink.c
+++ b/
src/netlink.c
@@
-665,6
+665,8
@@
static gboolean __nfc_netlink_event(GIOChannel *channel,
nl_recvmsgs(state->nl_sock, cb);
+ nl_cb_put(cb);
+
return TRUE;
}