From e395a4b8199b601b54ac4d5b399e6c21e9bbb632 Mon Sep 17 00:00:00 2001 From: Alexander Potashev Date: Fri, 27 May 2011 04:18:05 +0400 Subject: [PATCH 4/5] Fix memory leak: po_callback_comment_dispatcher does not take ownership of the string passed into it --- po-gram-gen.y | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/po-gram-gen.y b/po-gram-gen.y index fcb7f2d..e87d530 100644 --- a/po-gram-gen.y +++ b/po-gram-gen.y @@ -178,6 +178,7 @@ comment : COMMENT { po_callback_comment_dispatcher ($1.string); + free ($1.string); } ; -- 1.7.5.rc3