Modify ↓
Opened at 2008-04-28T23:19:20Z
Closed at 2008-12-14T10:42:00Z
#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
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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.