From fab1a490acd7a6abefc37f94615001ab8cb83ae8 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 13 Oct 2007 05:26:27 +0000 Subject: * locale/programs/repertoire.c (repertoire_read): Always free memory for repertoire file name [Coverity CID 270]. --- locale/programs/repertoire.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'locale') diff --git a/locale/programs/repertoire.c b/locale/programs/repertoire.c index cc83374c9f..366580e80f 100644 --- a/locale/programs/repertoire.c +++ b/locale/programs/repertoire.c @@ -113,8 +113,7 @@ repertoire_read (const char *filename) filename); repfile = lr_open (buf, repertoiremap_hash); - if (repfile == NULL) - free (buf); + free (buf); } } -- cgit v1.2.3