#10162: Handles leak when loading avfilter-7.dll using Delphi
-------------------------------------+-------------------------------------
Reporter: Arcardia | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: avfilter
Version: unspecified | Resolution:
Keywords: avfilter | Blocked By:
delphi memory leak handles |
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Description changed by Arcardia:
Old description:
> Hi,
> i currently have a problem loading/unloading the avfilter-7.dll from
> ffmpeg 4.22 (x86) using Delphi 2007 (also with Delphi XE3..same problem)
>
> Each loading / unloading process of the library causes a handles leak in
> Windows x64 Pro for which I currently have no explanation or solution. I
> have already tried to upgrade to a newer version of the DLL but the leak
> is even worse, strangely, a very old version (avfilter-2.dll and
> avfilter-6.dll) is not affected by this
>
> {{{
> dllLHandle :=
> LoadLibrary(PAnsiChar('c:\Windows\SysWow64\AVFilter-7.dll'));
> if dllLHandle<>0 then begin
> FreeLibrary(dllLHandle);
> dllLHandle:= 0;
> end;
>
> }}}
>
> The code above causes an additional leak with each call
>
> Is there something wrong, have I forgotten something?
New description:
Hi,
i currently have a problem loading/unloading the avfilter-7.dll from
ffmpeg 4.22 (x86) using Delphi 2007 (also with Delphi XE3..same problem)
Each loading / unloading process of the library causes a handles leak (of
type semaphores) in Windows x64 Pro for which I currently have no
explanation or solution. I have already tried to upgrade to a newer
version of the DLL but the leak is even worse, strangely, a very old
version (avfilter-2.dll and avfilter-6.dll) is not affected by this
{{{
dllLHandle :=
LoadLibrary(PAnsiChar('c:\Windows\SysWow64\AVFilter-7.dll'));
if dllLHandle<>0 then begin
FreeLibrary(dllLHandle);
dllLHandle:= 0;
end;
}}}
The code above causes an additional leak with each call
Is there something wrong, have I forgotten something?
--
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10162#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".