1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

a bit better checking for free'd variables.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3071 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-12-23 07:19:03 +00:00 committed by cras
parent f0eaf349f7
commit f070a873e0

View File

@ -170,7 +170,7 @@ void *irssi_ref_object(SV *o)
if (perl_memory_check_level > 0) {
if (perl_memory_check_level > 1)
GC_gcollect();
if (GC_base(p) == NULL)
if (GC_base(p) != p)
croak("variable is already free'd");
}
#endif