ne0bot/dspack

Resource Leak in TBCSource

GoogleCodeExporter opened this issue · 2 comments

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
2.3.4

Please provide any additional information below.

There is a resource leak in the source. FStateLock variable in TBCSource
was not destroyed in the Destroy function.


Original issue reported on code.google.com by hub...@gmail.com on 24 Mar 2010 at 1:33

[deleted comment]
FStateLock is destroyed in inherited class destructor

TBCBaseFilter.destroy;
begin
  FFilterName := '';
  FClock := nil;
  FLock.Free;            <----------------
  inherited;
end;

Original comment by t...@heroltice.net on 3 May 2010 at 8:07