diff options
author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2015-09-23 21:07:14 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2015-10-06 11:16:49 -0700 |
commit | 29d55245572a5e53ba8b3d529926453d493fd1e3 (patch) | |
tree | 7bd8cf5d8a38c90fb6d060280d1587e26c0ec5bd /usr/src/lib/libidmap | |
parent | 10a6478a64c986fe8b918521951c9068ed5588fe (diff) | |
download | illumos-joyent-29d55245572a5e53ba8b3d529926453d493fd1e3.tar.gz |
6276 libidmap leaks due to a missed goto
Reviewed by: Jason King <jason.brian.king@gmail.com>
Reviewed by: Alexander Pyhalov <apyhalov@gmail.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Marcel Telka <marcel@telka.sk>
Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src/lib/libidmap')
-rw-r--r-- | usr/src/lib/libidmap/common/idmap_api.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/lib/libidmap/common/idmap_api.c b/usr/src/lib/libidmap/common/idmap_api.c index 315c01a73c..ddfefc39c2 100644 --- a/usr/src/lib/libidmap/common/idmap_api.c +++ b/usr/src/lib/libidmap/common/idmap_api.c @@ -22,6 +22,7 @@ * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright Milan Jurik 2012. All rights reserved. * Copyright 2014 Nexenta Systems, Inc. All rights reserved. + * Copyright 2015 Joyent, Inc. */ @@ -1653,7 +1654,7 @@ idmap_get_w2u_mapping( TIMEOUT); if (retcode != IDMAP_SUCCESS) - return (retcode); + goto out; retcode = result.retcode; |