Buffer leak fixed. #173