Could anyone please help me fixing leaks in my
http://free-pascal-general.1045716.n5.nabble.com/file/n3312878/llvmirbuilder.zip project ?
This is the output when I debug in gdb:
Program received signal SIGSEGV, Segmentation fault. 0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x00406c32 in SYSTEM_TOBJECT_$__FREE ()
#2 0x0040d916 in TFPGOBJECTLIST$TLLVMVALUE__DEREF (ITEM=0x55138, this=<error reading variable>) at llvmirbuilder.pp:362 #3 0x00421451 in FGL_TFPSLIST_$__DEREF$LONGINT$LONGINT () #4 0x00000000 in ?? ()
That line is the end of a method and I have no idea why the item got dereferenced.
