Free the sfile formats after freeing the input/output files.
authorSøren Sandmann Pedersen <sandmann@daimi.au.dk>
Mon, 17 Aug 2009 12:19:38 +0000 (08:19 -0400)
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>
Mon, 17 Aug 2009 12:19:38 +0000 (08:19 -0400)
commit79921d709844bd35d307f5754faa285702463491
tree1bb82f8b570a2b5ea992bbc70f483e855720f3b6
parent9774bca836fe730fdf4af194a51b9062c05e8ea3
Free the sfile formats after freeing the input/output files.

The instruction arrays in the files have a references to types that
are owned by the formats, so if the formats are freed first, valgrind
complains about invalid accesses during the freeing of the instruction
array.
profile.c