projects
/
wpasupplicant
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
064bb82
)
Fix EAP-TNC peer memory leak on an error path
author
Ryuji
<r.ooba@ictec.co.jp>
Tue, 30 Jun 2009 16:39:13 +0000
(19:39 +0300)
committer
Jouni Malinen
<j@w1.fi>
Tue, 30 Jun 2009 16:39:13 +0000
(19:39 +0300)
src/eap_peer/tncc.c
patch
|
blob
|
history
diff --git
a/src/eap_peer/tncc.c
b/src/eap_peer/tncc.c
index
662662d
..
eaaa168
100644
(file)
--- a/
src/eap_peer/tncc.c
+++ b/
src/eap_peer/tncc.c
@@
-1106,6
+1106,7
@@
static struct tnc_if_imc * tncc_parse_imc(char *start, char *end, int *error)
if (pos >= end || *pos != ' ') {
wpa_printf(MSG_ERROR, "TNC: Ignoring invalid IMC line '%s' "
"(no space after name)", start);
+ os_free(imc->name);
os_free(imc);
return NULL;
}