projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6121624
)
Close config file on error path
author
Jouni Malinen
<j@w1.fi>
Sat, 9 Jan 2010 20:29:41 +0000
(22:29 +0200)
committer
Jouni Malinen
<j@w1.fi>
Sat, 9 Jan 2010 20:29:41 +0000
(22:29 +0200)
hostapd/config_file.c
patch
|
blob
|
history
diff --git
a/hostapd/config_file.c
b/hostapd/config_file.c
index
0ec83b0
..
10b7a35
100644
(file)
--- a/
hostapd/config_file.c
+++ b/
hostapd/config_file.c
@@
-1155,6
+1155,7
@@
struct hostapd_config * hostapd_config_read(const char *fname)
if (conf->driver == NULL) {
wpa_printf(MSG_ERROR, "No driver wrappers registered!");
hostapd_config_free(conf);
+ fclose(f);
return NULL;
}