[fpc-pascal] Using Supports() I got an AV... bug?

Vojtěch Čihák vojtech.cihak at atlas.cz
Sun Mar 11 14:52:09 CET 2018


Hi,
 
Bar shoud be released by Interface, no need to call Free.

V.
______________________________________________________________
> Od: "Marcos Douglas B. Santos" <md at delfire.net>
> Komu: FPC-Pascal users discussions <fpc-pascal at lists.freepascal.org>
> Datum: 11.03.2018 14:23
> Předmět: [fpc-pascal] Using Supports() I got an AV... bug?
>
The code below should work but I get an AV when the program calls `Bar.Free`.Do you know why?Lazarus 1.8.1 r57299 FPC 3.0.4 i386-win32-win32/win64...Regards,Marcos Douglas
 
 ----------
 
 _______________________________________________
 fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
 http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal <http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20180311/9b927cd7/attachment.html>


More information about the fpc-pascal mailing list