mirror of git://sourceware.org/git/glibc.git
* locale/programs/repertoire.c (repertoire_read): Always free
memory for repertoire file name [Coverity CID 270].
This commit is contained in:
parent
78a9b2dc58
commit
fab1a490ac
|
|
@ -1,5 +1,8 @@
|
|||
2007-10-12 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* locale/programs/repertoire.c (repertoire_read): Always free
|
||||
memory for repertoire file name [Coverity CID 270].
|
||||
|
||||
* elf/cache.c (save_aux_cache): Free memory allocated for
|
||||
temporary file name [Coverity CID 267].
|
||||
|
||||
|
|
|
|||
|
|
@ -113,8 +113,7 @@ repertoire_read (const char *filename)
|
|||
filename);
|
||||
repfile = lr_open (buf, repertoiremap_hash);
|
||||
|
||||
if (repfile == NULL)
|
||||
free (buf);
|
||||
free (buf);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue