mirror of git://sourceware.org/git/glibc.git
write_archive_locales: Fix memory leak
Fix memory leak identified by coverity.
This commit is contained in:
parent
ddd4a2d3c6
commit
213573f86e
|
@ -713,6 +713,8 @@ write_archive_locales (void **all_datap, char *linebuf)
|
||||||
locrec->record[LC_CTYPE].len);
|
locrec->record[LC_CTYPE].len);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
free (names);
|
||||||
|
|
||||||
ret = used;
|
ret = used;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue