svn commit: r334345 - head/lib/libpmc

Eric van Gyzen eric at vangyzen.net
Tue May 29 18:36:38 UTC 2018


On 05/29/2018 13:26, Matt Macy wrote:
>  	if (pmc_pmu_pmcallocate(ctrname, &pmc_config) == 0) {
>  		if (PMC_CALL(PMCALLOCATE, &pmc_config) < 0)
>  			return (errno);

                        ^^^^^^
spec_copy is still leaked here.

> +		free(spec_copy);
>  		*pmcid = pmc_config.pm_pmcid;
>  		return (0);
>  	} else {
> 


More information about the svn-src-all mailing list