1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/net-im/centericq/files/patch-libicq2000-0.1_libicq2000_sigslot.h
Cheng-Lung Sung 344e230f22 - fix signal 11 problem on amd64 when trying to join irc channel. [1]
- Fix yet one bug in libicq code. We don't need to free "it", since it
  was never allocated. This tends to core dumps. [2]

PR:		ports/102203 [1], ports/102405 [2]
Submitted by:	pasear <wchunhao_AT_cs dot nctu dot edu dot tw> [1], Stanislav Sedov <ssedov_AT_mbsd dot msk dot ru> [2]
2006-08-23 02:26:26 +00:00

11 lines
281 B
C

--- ./libicq2000-0.1/libicq2000/sigslot.h.orig Wed Aug 23 01:30:57 2006
+++ ./libicq2000-0.1/libicq2000/sigslot.h Wed Aug 23 01:34:04 2006
@@ -616,7 +616,6 @@
if((*it)->getdest() == pslot)
{
m_connected_slots.erase(it);
- delete *it;
}
it = itNext;