diff options
author | David Leadbeater <dgl@dgl.cx> | 2014-06-19 18:31:00 +0100 |
---|---|---|
committer | David Leadbeater <dgl@dgl.cx> | 2014-06-27 11:20:48 +0100 |
commit | c5d81c598d7872308725f4f20523a1c593d5ca9e (patch) | |
tree | 3dbabd8670d4829ff50500c88503ff82b3c8fd15 /src/perl/perl-core.c | |
parent | 9d0d4d9437649ed96381120e68a8d4035f6ded7e (diff) | |
download | irssi-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.c | 3 |
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; } |