mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
344e230f22
- 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]
11 lines
281 B
C
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;
|