Modify

#409 closed task (fixed)

Double g_free in proxy.c

Reported by: Daga Owned by:
Priority: normal Milestone:
Component: BitlBee Version: 1.2
Keywords: Cc:
IRC client+version: Client-independent Operating System: Public server
OS version/distro:

Description

Line 549 of proxy.c for the 1.2 release can be removed:

549 if (phb->host) g_free(phb); 550 g_free(phb);

Since phb is being g_free()'d anyway, there is no need to check if phb->host evaluates to true or not.

Attachments (0)

Change History (1)

comment:1 Changed at 2008-12-14T10:42:00Z by wilmer

Resolution: fixed
Status: newclosed

Fixed. That one was there for ages already, possibly even inherited from Gaim 0.58. Fortunately it could never actually trigger since phb->host can only be NULL there. Removed in changeset:devel,457.

Modify Ticket

Action
as closed The ticket will remain with no owner.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.