Conditional jump or move depends on uninitialised value(s)
   ...

Invalid read of size 4
   ...
 Address 0x........ is 4 bytes inside a block of size 12 free'd
   at 0x........: free (vg_replace_malloc.c:...)
   ...