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
@ -450,6 +450,7 @@ register const int doextend;
|
||||
_close(fid);
|
||||
return -1;
|
||||
}
|
||||
free(fullname);
|
||||
}
|
||||
u = malloc(sizeof(*u));
|
||||
if (u == NULL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user