projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c83b67
)
hostapd: Fix deinit on initialization failure
author
Jouni Malinen
<j@w1.fi>
Sun, 3 Jan 2010 08:54:14 +0000
(10:54 +0200)
committer
Jouni Malinen
<j@w1.fi>
Sun, 3 Jan 2010 08:54:14 +0000
(10:54 +0200)
hostapd/main.c
patch
|
blob
|
history
diff --git
a/hostapd/main.c
b/hostapd/main.c
index
71dfdc9
..
00ce22d
100644
(file)
--- a/
hostapd/main.c
+++ b/
hostapd/main.c
@@
-279,6
+279,8
@@
static void hostapd_interface_deinit_free(struct hostapd_iface *iface)
{
const struct wpa_driver_ops *driver;
void *drv_priv;
+ if (iface == NULL)
+ return;
driver = iface->bss[0]->driver;
drv_priv = iface->bss[0]->drv_priv;
hostapd_interface_deinit(iface);