summaryrefslogtreecommitdiff
path: root/src/perl/perl-core.c
diff options
context:
space:
mode:
authorDavid Leadbeater <dgl@dgl.cx>2014-06-19 18:31:00 +0100
committerDavid Leadbeater <dgl@dgl.cx>2014-06-27 11:20:48 +0100
commitc5d81c598d7872308725f4f20523a1c593d5ca9e (patch)
tree3dbabd8670d4829ff50500c88503ff82b3c8fd15 /src/perl/perl-core.c
parent9d0d4d9437649ed96381120e68a8d4035f6ded7e (diff)
downloadirssi-c5d81c598d7872308725f4f20523a1c593d5ca9e.zip
Correct use of perl stack macros
Further to pull #49 this is the result of an audit of the use of perl stack macros. There were several cases where PUTBACK was being called where the stack pointer could be out-of-date. Also some misc. cleanup where the macros were used needlessly.
Diffstat (limited to 'src/perl/perl-core.c')
-rw-r--r--src/perl/perl-core.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/perl/perl-core.c b/src/perl/perl-core.c
index 08d0738c..4bbfa329 100644
--- a/src/perl/perl-core.c
+++ b/src/perl/perl-core.c
@@ -58,9 +58,6 @@ static void perl_script_destroy_package(PERL_SCRIPT_REC *script)
perl_call_pv("Irssi::Core::destroy", G_VOID|G_EVAL|G_DISCARD);
- SPAGAIN;
-
- PUTBACK;
FREETMPS;
LEAVE;
}