This commit is contained in:
Anton Kochkov 2014-05-24 02:30:06 +04:00
parent 127a5c23e4
commit 57a8591b6f

View File

@ -267,10 +267,10 @@ static int r_cmd_yara_init() {
static int r_cmd_yara_deinit(){
if (r_yr_initialize != NULL) {
r_lib_dl_close (libyara);
r_yr_compiler_destroy(compiler);
r_yr_finalize();
r_yr_initialize = NULL;
r_lib_dl_close (libyara);
}
return R_TRUE;
}