Skip to content

Commit

Permalink
Revert "[src] Fix memory leak in OnlineCacheFeature; thanks @Worldexe (
Browse files Browse the repository at this point in the history
…#2872)"

This reverts commit 8a87f53.
  • Loading branch information
danpovey authored Nov 27, 2018
1 parent 1d26bdd commit d2628f7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/feat/online-feature.cc
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,6 @@ void OnlineCacheFeature::GetFrames(
}
if (non_cached_frames.empty())
return;
SortAndUniq(&non_cached_frames);
int32 num_non_cached_frames = non_cached_frames.size(),
dim = this->Dim();
Matrix<BaseFloat> non_cached_feats(num_non_cached_frames, dim,
Expand Down

0 comments on commit d2628f7

Please sign in to comment.