From c83434fe9f313c40503fa1a6924de6838c3f126d Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Fri, 11 Jul 2014 02:28:58 +0300 Subject: [PATCH] free old buffers on create as there's no free ioctl --- services4/3rdparty/bufferclass_ti/bc_cat.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/services4/3rdparty/bufferclass_ti/bc_cat.c b/services4/3rdparty/bufferclass_ti/bc_cat.c index e46964c..3786fed 100644 --- a/services4/3rdparty/bufferclass_ti/bc_cat.c +++ b/services4/3rdparty/bufferclass_ti/bc_cat.c @@ -343,8 +343,7 @@ static int BC_CreateBuffers(int id, bc_buf_params_t *p) } if (psDevInfo->ulNumBuffers) { - - return (BCE_ERROR_GENERIC); + BC_DestroyBuffers(id); } -- 2.39.5