Fixed a memory leak bug which couldn't be reproduced when compiling with the other GCC I used some months ago.