Thread: Ident context leak during reloading of conf files when no ident information is present in the file

There is an ident context leak which is occurs during reload of configuration files when

there is no ident configuration items are present in the configuration file.

 

In function load_ident(), New context is allocated to store the new_parsed_lines and deletes

the old context when parsed_ident_lines are present. If no parsed_ident_lines are present then

the context is not deleted.

 

Patch with fix is attached in the mail. please review and let me know your suggestions.

 

Regards,

Hari babu.

Attachment
On 24.10.2013 13:20, Haribabu kommi wrote:
> There is an ident context leak which is occurs during reload of configuration files when
> there is no ident configuration items are present in the configuration file.
>
> In function load_ident(), New context is allocated to store the new_parsed_lines and deletes
> the old context when parsed_ident_lines are present. If no parsed_ident_lines are present then
> the context is not deleted.
>
> Patch with fix is attached in the mail. please review and let me know your suggestions.

Thanks, committed.

- Heikki