Blame SOURCES/libnfsidmap-0.2-memleak.patch

a72e7a
commit c7edb02d52d048e9e82c0431a3256df3675668ac
a72e7a
Author: Steve Dickson <steved@redhat.com>
a72e7a
Date:   Wed Aug 17 14:57:01 2016 -0400
a72e7a
a72e7a
    Fixed a memory leak nss_name_to_gid()
a72e7a
    
a72e7a
    Signed-off-by: Steve Dickson <steved@redhat.com>
a72e7a
a72e7a
diff --git a/nss.c b/nss.c
a72e7a
index 47c6b14..0f12351 100644
a72e7a
--- a/nss.c
a72e7a
+++ b/nss.c
a72e7a
@@ -242,7 +242,7 @@ static int nss_name_to_gid(char *name, gid_t *gid)
a72e7a
 
a72e7a
 	err = -ENOMEM;
a72e7a
 	if (buflen > UINT_MAX)
a72e7a
-		goto out;
a72e7a
+		goto out_name;
a72e7a
 
a72e7a
 	do {
a72e7a
 		buf = malloc(buflen);