diff options
Diffstat (limited to 'apps/rbcodec_helpers.c')
-rw-r--r-- | apps/rbcodec_helpers.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/rbcodec_helpers.c b/apps/rbcodec_helpers.c index 78e068ded7..b856d7355d 100644 --- a/apps/rbcodec_helpers.c +++ b/apps/rbcodec_helpers.c | |||
@@ -87,10 +87,7 @@ void tdspeed_free_buffers(int32_t **buffers, int nbuf) | |||
87 | { | 87 | { |
88 | for (int i = 0; i < nbuf; i++) | 88 | for (int i = 0; i < nbuf; i++) |
89 | { | 89 | { |
90 | if (handles[i] > 0) | 90 | handles[i] = core_free(handles[i]); |
91 | core_free(handles[i]); | ||
92 | |||
93 | handles[i] = 0; | ||
94 | buffers[i] = NULL; | 91 | buffers[i] = NULL; |
95 | } | 92 | } |
96 | } | 93 | } |