[added]Added C example containing memory leak