From: Daiki Ueno Date: Tue, 17 Nov 2015 07:23:07 +0000 (+0900) Subject: cldr-plurals: Fix a trivial leak X-Git-Tag: v0.19.7~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26200674f0a9769db79d073fa9b692666e926c59;p=thirdparty%2Fgettext.git cldr-plurals: Fix a trivial leak * src/cldr-plural.y (sample_range): Free unused operand value. --- diff --git a/gettext-tools/src/cldr-plural.y b/gettext-tools/src/cldr-plural.y index 9db4a67fc..d3128cd73 100644 --- a/gettext-tools/src/cldr-plural.y +++ b/gettext-tools/src/cldr-plural.y @@ -269,9 +269,13 @@ sample_ellipsis: %empty ; sample_range: DECIMAL + { free ($1); } | DECIMAL '~' DECIMAL + { free ($1); free ($3); } | INTEGER + { free ($1); } | INTEGER '~' INTEGER + { free ($1); free ($3); } ; %%