Fixed CID 1297: the buffList array was never deleted.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27432 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -293,6 +293,8 @@ VideoConsumer::CreateBuffers(const media_format& format)
|
||||
}
|
||||
} else
|
||||
ERROR("VideoConsumer::CreateBuffers ERROR IN GET BUFFER LIST\n");
|
||||
|
||||
delete[] buffList;
|
||||
|
||||
FUNCTION("VideoConsumer::CreateBuffers - EXIT\n");
|
||||
return status;
|
||||
|
||||
Reference in New Issue
Block a user