"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: gotwebd: free age and reflist in gotweb_render_branches
To:
Omar Polo <op@omarpolo.com>
Cc:
gameoftrees@openbsd.org
Date:
Fri, 2 Sep 2022 11:37:34 +0200

Download raw body.

Thread
 ok stsp@

On Fri, Sep 02, 2022 at 11:14:03AM +0200, Omar Polo wrote:
> diff d671c3138b0a55e515557fd21584dd92c4b42a14 06e5b2b9820d183e373bdfcd7238af841a255001
> commit - d671c3138b0a55e515557fd21584dd92c4b42a14
> commit + 06e5b2b9820d183e373bdfcd7238af841a255001
> blob - c25f0953fa4e796d24ebe3806a950049ea1bd120
> blob + 0160fc30c590ae25406be33eb3401352925def09
> --- gotwebd/gotweb.c
> +++ gotwebd/gotweb.c
> @@ -1481,6 +1481,8 @@ gotweb_render_branches(struct request *c)
>  	}
>  	fcgi_printf(c, "</div>\n"); /* #branches_content */
>  done:
> +	free(age);
> +	got_ref_list_free(&refs);
>  	return error;
>  }
>  
> 
> 
>