fix memory leak in Database::only_pre_filter_after_join().
bugs was found by jialonghan@RUC. author: hanshuo
This commit is contained in:
parent
57a89e57e4
commit
8e94ac6b9d
|
@ -2297,6 +2297,7 @@ void Database::only_pre_filter_after_join(BasicQuery* basic_query)
|
|||
break;
|
||||
}
|
||||
}
|
||||
delete []pair_list;
|
||||
}
|
||||
if (exist_preid && !out_edge_pre_id.empty())
|
||||
{
|
||||
|
@ -2311,9 +2312,8 @@ void Database::only_pre_filter_after_join(BasicQuery* basic_query)
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
delete []pair_list;
|
||||
}
|
||||
delete []pair_list;
|
||||
|
||||
// result sequence is illegal when there exists any missing filter predicate id.
|
||||
if (!exist_preid)
|
||||
|
|
Loading…
Reference in New Issue