about summary refs log tree commit diff
path: root/locale/programs
diff options
context:
space:
mode:
Diffstat (limited to 'locale/programs')
-rw-r--r--locale/programs/repertoire.c3
1 files changed, 1 insertions, 2 deletions
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);
 	    }
 	}