From: Grazvydas Ignotas Date: Thu, 10 Jul 2014 23:28:58 +0000 (+0300) Subject: free old buffers on create as there's no free ioctl X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f9609ed86c1f79a23158de274188518c3a0a5f1;p=sgx.git free old buffers on create as there's no free ioctl --- diff --git a/services4/3rdparty/bufferclass_ti/bc_cat.c b/services4/3rdparty/bufferclass_ti/bc_cat.c index f61578b..0e32963 100644 --- a/services4/3rdparty/bufferclass_ti/bc_cat.c +++ b/services4/3rdparty/bufferclass_ti/bc_cat.c @@ -349,8 +349,7 @@ static int BC_CreateBuffers(int id, bc_buf_params_t *p) } if (psDevInfo->ulNumBuffers) { - - return (BCE_ERROR_GENERIC); + BC_DestroyBuffers(id); }