Buenas, estoy teniedo problemas con removerUltimoClientesSucursalesLDE y removerNesimoClientesSucursalesLDE(TClientesSucursalesLDE en el clientesSucursalesLDE4-removerultimo-removerenesimo.sal aparece esto:
==40658== Invalid read of size 8
==40658== at 0x10CB45: cantidadTClientesABBClientesSucursalesLDE(rep_clientesSucursalesLDE*) (clientesSucursalesLDE.cpp:95)
==40658== by 0x10B527: main_cantidadClientesSucursalesLDE(rep_clientesSucursalesLDE*) (principal.cpp:864)
==40658== by 0x109D28: main (principal.cpp:349)
==40658== Address 0x4dead08 is 8 bytes inside a block of size 32 free'd
==40658== at 0x484BB6F: operator delete(void*, unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==40658== by 0x10CC19: removerUltimoClientesSucursalesLDE(rep_clientesSucursalesLDE*) (clientesSucursalesLDE.cpp:133)
==40658== by 0x10B619: main_removerUltimoClientesSucursalesLDE(rep_clientesSucursalesLDE*) (principal.cpp:889)
==40658== by 0x109D8A: main (principal.cpp:357)
==40658== Block was alloc'd at
==40658== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==40658== by 0x10C79B: crearTClientesSucursalesLDEVacia() (clientesSucursalesLDE.cpp:10)
==40658== by 0x10B38E: main_crearClientesSucursalesLDE(rep_clientesSucursalesLDE*&) (principal.cpp:824)
==40658== by 0x109C29: main (principal.cpp:329)
==40658==
==40658== Invalid read of size 8
==40658== at 0x10CB32: cantidadTClientesABBClientesSucursalesLDE(rep_clientesSucursalesLDE*) (clientesSucursalesLDE.cpp:98)
==40658== by 0x10B527: main_cantidadClientesSucursalesLDE(rep_clientesSucursalesLDE*) (principal.cpp:864)
==40658== by 0x109D28: main (principal.cpp:349)
==40658== Address 0x4dead10 is 16 bytes inside a block of size 32 free'd
==40658== at 0x484BB6F: operator delete(void*, unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==40658== by 0x10CC19: removerUltimoClientesSucursalesLDE(rep_clientesSucursalesLDE*) (clientesSucursalesLDE.cpp:133)
==40658== by 0x10B619: main_removerUltimoClientesSucursalesLDE(rep_clientesSucursalesLDE*) (principal.cpp:889)
==40658== by 0x109D8A: main (principal.cpp:357)
==40658== Block was alloc'd at
==40658== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==40658== by 0x10C79B: crearTClientesSucursalesLDEVacia() (clientesSucursalesLDE.cpp:10)
==40658== by 0x10B38E: main_crearClientesSucursalesLDE(rep_clientesSucursalesLDE*&) (principal.cpp:824)
==40658== by 0x109C29: main (principal.cpp:329)
==40658==
==40658== Invalid read of size 8
==40658== at 0x10C7EF: insertarClientesABBTClientesSucursalesLDE(rep_clientesSucursalesLDE*, rep_clientesABB*, int) (clientesSucursalesLDE.cpp:15)
==40658== by 0x10B439: main_agregarClientesASucursalesLDE(rep_clientesSucursalesLDE*&, rep_clientesABB*&) (principal.cpp:832)
==40658== by 0x109C64: main (principal.cpp:333)
==40658== Address 0x4dead08 is 8 bytes inside a block of size 32 free'd
==40658== at 0x484BB6F: operator delete(void*, unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==40658== by 0x10CC19: removerUltimoClientesSucursalesLDE(rep_clientesSucursalesLDE*) (clientesSucursalesLDE.cpp:133)
==40658== by 0x10B619: main_removerUltimoClientesSucursalesLDE(rep_clientesSucursalesLDE*) (principal.cpp:889)
==40658== by 0x109D8A: main (principal.cpp:357)
==40658== Block was alloc'd at
==40658== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==40658== by 0x10C79B: crearTClientesSucursalesLDEVacia() (clientesSucursalesLDE.cpp:10)
==40658== by 0x10B38E: main_crearClientesSucursalesLDE(rep_clientesSucursalesLDE*&) (principal.cpp:824)
==40658== by 0x109C29: main (principal.cpp:329)