[Gambas-user] Circular references and allocations non freed

martin p cristia tercoide at ...67...
Fri Sep 11 19:32:43 CEST 2015


Hi:

this shows up in the debugger after program ends with me.Close() in the 
main window:

gbx3: warning: circular references detected:
gbx3:     8 flagsSTRUCT
gbx3:  47896 settingsSTRUCT
gbx3:  13038 datosSTRUCT
gbx3:  262848 zoomSTRUCT
gbx3: warning: 323790 allocation(s) non freed.

The total allocations are the sum of the list.

all those struct are single objects, i.e. :


Public Struct flagsSTRUCT
     LogFile As File   ' 0 = cerrado
     LogFileName As String
     Perfil As Integer
     Pausa As Boolean
     PerfilTipo As String
     LogOn As Boolean
     palabra_clave As String
     lenguaje As String
     parar_calculos As Integer
     carga As Integer
     barra As Integer
     nudo As Integer
     material As Integer
     dibujar As Boolean
      resultado As Integer
     modo As Integer
     cambios As Boolean
     dibujando As Integer
     ayuda As String
     ayuda_mostrar As Boolean
     Estado As Integer
     Entrada As String
     EntradaLista As Boolean
     EntradaCancel As Boolean
     asistente_copletado As Integer
     asistente_actual As Integer
     MostrarDespuesCalculo As Integer
     OcultarCargas As Boolean

End Struct

Public flags As Struct FlagsSTRUCT

any ideas?

-- 
Saludos

Ing. Martin P Cristia





More information about the User mailing list