Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 679124 | Differences between
and this patch

Collapse All | Expand All

(-)nfs-utils-2.3.1.orig/support/export/client.c (-1 / +2 lines)
Lines 309-315 Link Here
309
		init_addrlist(clp, ai);
309
		init_addrlist(clp, ai);
310
310
311
out:
311
out:
312
	freeaddrinfo(ai);
312
	if (ai)
313
		freeaddrinfo(ai);
313
	return clp;
314
	return clp;
314
}
315
}
315
316
(-)nfs-utils-2.3.1.orig/utils/mountd/cache.c (-2 / +4 lines)
Lines 834-840 Link Here
834
out:
834
out:
835
	if (found_path)
835
	if (found_path)
836
		free(found_path);
836
		free(found_path);
837
	freeaddrinfo(ai);
837
	if (ai)
838
		freeaddrinfo(ai);
838
	free(dom);
839
	free(dom);
839
	xlog(D_CALL, "nfsd_fh: found %p path %s", found, found ? found->e_path : NULL);
840
	xlog(D_CALL, "nfsd_fh: found %p path %s", found, found ? found->e_path : NULL);
840
}
841
}
Lines 1364-1370 Link Here
1364
	xlog(D_CALL, "nfsd_export: found %p path %s", found, path ? path : NULL);
1365
	xlog(D_CALL, "nfsd_export: found %p path %s", found, path ? path : NULL);
1365
	if (dom) free(dom);
1366
	if (dom) free(dom);
1366
	if (path) free(path);
1367
	if (path) free(path);
1367
	freeaddrinfo(ai);
1368
	if (ai)
1369
		freeaddrinfo(ai);
1368
}
1370
}
1369
1371
1370
1372

Return to bug 679124