Memory allocated by strdup() should be freed by free(), not PR_Free().

This commit is contained in:
wtc%netscape.com 2002-01-24 17:46:37 +00:00
Родитель 1d03f82e88
Коммит 79e194da2a
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -277,7 +277,7 @@ void _PR_LogCleanup(void)
while (lm != NULL) {
PRLogModuleInfo *next = lm->next;
PR_Free((/*const*/ char *)lm->name);
free((/*const*/ char *)lm->name);
PR_Free(lm);
lm = next;
}