1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-10-12 19:04:54 +03:00

write_archive_locales: Fix memory leak

Fix memory leak identified by coverity.
This commit is contained in:
Siddhesh Poyarekar
2021-05-11 17:56:19 +05:30
parent ddd4a2d3c6
commit 213573f86e

View File

@@ -713,6 +713,8 @@ write_archive_locales (void **all_datap, char *linebuf)
locrec->record[LC_CTYPE].len);
}
free (names);
ret = used;
}