mem leak sample