aboutsummaryrefslogtreecommitdiff
path: root/nerv/lib
diff options
context:
space:
mode:
authorYimmon Zhuang <[email protected]>2015-10-10 22:32:51 +0800
committerYimmon Zhuang <[email protected]>2015-10-10 22:32:51 +0800
commit473eb9c082224be19f147697ba951ae5bac4b4b4 (patch)
tree6b3b1866fcac3748b334c5b6dbae8d83b0ccf28f /nerv/lib
parent60e7718f4db981557ac48d9d375d8e23b1cd39d1 (diff)
move sequence related layers to kaldi_seq
Diffstat (limited to 'nerv/lib')
-rw-r--r--nerv/lib/matrix/generic/matrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nerv/lib/matrix/generic/matrix.c b/nerv/lib/matrix/generic/matrix.c
index 4319e13..4246751 100644
--- a/nerv/lib/matrix/generic/matrix.c
+++ b/nerv/lib/matrix/generic/matrix.c
@@ -4,7 +4,7 @@
/* FIXME: malloc failure detection */
void nerv_matrix_(data_free)(Matrix *self, Status *status) {
- if(*self->data_ref == 0) return;
+ if(*self->data_ref == 0) return; /* FIXME: repeat free memory */
assert(*self->data_ref > 0);
if (--(*self->data_ref) == 0)
{