mirror of https://github.com/M66B/NetGuard.git
Prevent NPE
This commit is contained in:
parent
68dd66decd
commit
f3dfa30f1b
|
@ -275,10 +275,11 @@ void *handle_events(void *a) {
|
|||
log_android(ANDROID_LOG_ERROR,
|
||||
"epoll close error %d: %s", errno, strerror(errno));
|
||||
|
||||
log_android(ANDROID_LOG_WARN, "Stopped events tun=%d", args->tun);
|
||||
|
||||
// Cleanup
|
||||
ng_free(args, __FILE__, __LINE__);
|
||||
|
||||
log_android(ANDROID_LOG_WARN, "Stopped events tun=%d", args->tun);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue