postfix templates memory leak