Fix a memory leak in tzload().
Reported by: valgrind Reviewed by: kib MFC after: 3 days
This commit is contained in:
parent
f346986b76
commit
1ed9dc778b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=226828
@ -450,6 +450,7 @@ register const int doextend;
|
|||||||
_close(fid);
|
_close(fid);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
free(fullname);
|
||||||
}
|
}
|
||||||
u = malloc(sizeof(*u));
|
u = malloc(sizeof(*u));
|
||||||
if (u == NULL)
|
if (u == NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user