fix crash on /quit

This commit is contained in:
jolan 2006-06-13 02:02:04 +00:00
parent 1ba56f0e47
commit a74c45fb48
2 changed files with 15 additions and 2 deletions

View File

@ -1,5 +1,4 @@
# $OpenBSD: Makefile,v 1.26 2006/04/18 20:30:02 steven Exp $
# Original from: Timo Sirainen <tss@iki.fi>
# $OpenBSD: Makefile,v 1.27 2006/06/13 02:02:04 jolan Exp $
SHARED_ONLY= Yes
@ -7,6 +6,7 @@ COMMENT= "modular IRC client with many features (ipv6,socks,proxy)"
DISTNAME= irssi-0.8.10
DISTFILES= irssi-0.8.10a.tar.gz
PKGNAME= ${DISTNAME}p0
CATEGORIES= net
HOMEPAGE= http://www.irssi.org/

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_irc_dcc_dcc_c,v 1.1 2006/06/13 02:02:04 jolan Exp $
--- src/irc/dcc/dcc.c.orig Tue Oct 18 21:13:31 2005
+++ src/irc/dcc/dcc.c Mon Jun 12 20:57:28 2006
@@ -58,8 +58,8 @@ void dcc_unregister_type(const char *typ
pos = gslist_find_string(dcc_types, type);
if (pos != NULL) {
- dcc_types = g_slist_remove(dcc_types, pos->data);
g_free(pos->data);
+ dcc_types = g_slist_remove(dcc_types, pos->data);
}
}