Prevent mm-fp from crashing by calling dect_close_handle(dh) twice at shutdown.
Signed-off-by: Patrick McHardy <kaber@trash.net>
This commit is contained in:
parent
7e9184f91a
commit
b04461a50d
|
@ -221,7 +221,6 @@ int main(int argc, char **argv)
|
|||
dect_common_init(&ops);
|
||||
|
||||
dect_event_loop();
|
||||
dect_close_handle(dh);
|
||||
|
||||
dect_common_cleanup(dh);
|
||||
close(rand_fd);
|
||||
|
|
Reference in New Issue