* localtime.cc (tzload): Fix leaking memory (CID 60001).
This commit is contained in:
parent
4337e28e62
commit
28b4c8483e
@ -1,3 +1,7 @@
|
|||||||
|
2014-06-23 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* localtime.cc (tzload): Fix leaking memory (CID 60001).
|
||||||
|
|
||||||
2014-06-23 Corinna Vinschen <corinna@vinschen.de>
|
2014-06-23 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* exceptions.cc (try_to_debug): Free environment pointer when not used
|
* exceptions.cc (try_to_debug): Free environment pointer when not used
|
||||||
|
@ -698,7 +698,7 @@ tzload(timezone_t sp, const char *name, const int doextend)
|
|||||||
else
|
else
|
||||||
base = name;
|
base = name;
|
||||||
if (strcmp(base, "posixrules"))
|
if (strcmp(base, "posixrules"))
|
||||||
return -1;
|
goto oops;
|
||||||
|
|
||||||
/* We've got a built-in copy of posixrules just in case */
|
/* We've got a built-in copy of posixrules just in case */
|
||||||
fid = -2;
|
fid = -2;
|
||||||
|
Loading…
Reference in New Issue
Block a user