Hi, Bar shoud be released by Interface, no need to call Free.
V. ______________________________________________________________
Od: "Marcos Douglas B. Santos" <m...@delfire.net> Komu: FPC-Pascal users discussions <fpc-pascal@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@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal <http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal>
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal