Commit 8351871c authored by Ho Yin Chan's avatar Ho Yin Chan
Browse files

trunk:src/nnet2 fix of memory leak in test program

git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@4600 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
parent c61663de
......@@ -746,6 +746,7 @@ void UnitTestSpliceComponent() {
out_info = ChunkInfo(feat_dim * splice_indexes.size() + const_dim,
num_chunks, output_offset, output_offset);
UnitTestGenericComponentInternal(*component, in_info, out_info);
delete component;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment