1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

fix for new perls

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2979 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-10-28 01:50:55 +00:00 committed by cras
parent c764853132
commit 8f424cd082

View File

@ -1,6 +1,6 @@
#include "module.h" #include "module.h"
static int magic_free_text_dest(SV *sv, MAGIC *mg) static int magic_free_text_dest(pTHX_ SV *sv, MAGIC *mg)
{ {
TEXT_DEST_REC *dest = (TEXT_DEST_REC *) mg->mg_ptr; TEXT_DEST_REC *dest = (TEXT_DEST_REC *) mg->mg_ptr;
g_free((char *) dest->target); g_free((char *) dest->target);