fix gtk+ memory leak.
This commit is contained in:
parent
77d58126f4
commit
564e4e2eb6
|
@ -477,7 +477,7 @@ refresh_peers (GtkWidget * top)
|
|||
fmtpeercount (p->leechers_lb, stat->leechers);
|
||||
fmtpeercount (p->completed_lb, stat->completedFromTracker );
|
||||
|
||||
free (peers);
|
||||
tr_torrentPeersFree( peers );
|
||||
}
|
||||
|
||||
static GtkWidget* peer_page_new ( TrTorrent * gtor )
|
||||
|
|
Loading…
Reference in New Issue