==9496== Memcheck, a memory error detector
==9496== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==9496== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==9496== Command: ./prueba
==9496==
==9496== Invalid write of size 4
==9496== at 0x804845F: main (prueba.c:64)
==9496== Address 0x419e030 is 4 bytes after a block of size 4 alloc'd
==9496== at
0x4026864: malloc (vg_replace_malloc.
c:236) ==9496== by 0x8048448: main (prueba.c:63)
==9496==
==9496== Invalid read of size 4
==9496== at 0x8048466: main (prueba.c:66)
==9496== Address 0x419e030 is 4 bytes after a block of size 4 alloc'd
==9496== at 0x4026864: malloc (vg_replace_malloc.c:236)
==9496== by 0x8048448: main (prueba.c:63)
==9496==
==9496==
==9496== HEAP SUMMARY:
==9496== in use at exit: 0 bytes in 0 blocks
==9496== total heap usage: 2 allocs, 2 frees, 8 bytes allocated
==9496==
==9496== All heap blocks were freed -- no leaks are possible
==9496==
==9496== For counts of detected and suppressed errors, rerun with: -v
==9496== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 11 from 6)