← Back to team overview

hipl-core team mailing list archive

Re: [Branch ~hipl-core/hipl/trunk] Rev 4929: Cleaned up hipfw startup.

 

On Mon, Sep 13, 2010 at 02:04:26PM +0000, noreply@xxxxxxxxxxxxx wrote:
> Merge authors:
>   Christof Mroz (christof-mroz)
> message:
>   Cleaned up hipfw startup.
>   
> --- firewall/firewall.c	2010-09-09 00:54:32 +0000
> +++ firewall/firewall.c	2010-09-09 01:39:39 +0000
> @@ -2295,6 +2262,12 @@
>  
>  out_err:
> +    if(h4) {
> +        ipq_destroy_handle(h4);
> +    }
> +    if(h6) {
> +        ipq_destroy_handle(h6);
> +    }
>      if (hip_fw_async_sock) {
>          close(hip_fw_async_sock);

if (

Please respect the style used two lines below and reread the style
guidelines about K&R coding style in the HACKING document.

Diego



References