diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2014-06-23 17:38:06 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2014-06-23 17:38:06 +0400 |
commit | 28b4c8483efc8b3c4f2860a590e719445e5daf36 (patch) | |
tree | 89f02b116ee3460b14a85e3677c5881ce19ef474 /winsup/cygwin/localtime.cc | |
parent | 4337e28e6218bd0f924536998681d2f1da3db98e (diff) |
* localtime.cc (tzload): Fix leaking memory (CID 60001).
Diffstat (limited to 'winsup/cygwin/localtime.cc')
-rw-r--r-- | winsup/cygwin/localtime.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/localtime.cc b/winsup/cygwin/localtime.cc index 29371703e..139faced8 100644 --- a/winsup/cygwin/localtime.cc +++ b/winsup/cygwin/localtime.cc @@ -698,7 +698,7 @@ tzload(timezone_t sp, const char *name, const int doextend) else base = name; if (strcmp(base, "posixrules")) - return -1; + goto oops; /* We've got a built-in copy of posixrules just in case */ fid = -2; |