plug memory leak in PoC direct

This commit is contained in:
nick black 2020-08-12 03:03:10 -04:00
parent d5eca34cd5
commit 7d1e4fae54
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -64,5 +64,5 @@ int main(void){
}else{
ret = -1;
}
return ret ? EXIT_FAILURE : EXIT_SUCCESS;
return ncdirect_stop(n) || ret ? EXIT_FAILURE : EXIT_SUCCESS;
}