summaryrefslogtreecommitdiff
path: root/src/perl
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2009-01-15 11:02:23 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2009-01-15 11:02:23 +0000
commitb2566682eee26fdeb9005bf8a070081b2192d213 (patch)
tree24b13b967833bfe1cfbba1bd954721796fc7043f /src/perl
parente5ba2d35e421c2ab78c9ef0f9c1e3fb2d6c76dc8 (diff)
downloadirssi-b2566682eee26fdeb9005bf8a070081b2192d213.zip
Fix minor leak.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4987 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl')
-rw-r--r--src/perl/perl-fe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/perl/perl-fe.c b/src/perl/perl-fe.c
index 3060fb4f..8e8469e9 100644
--- a/src/perl/perl-fe.c
+++ b/src/perl/perl-fe.c
@@ -262,6 +262,8 @@ void fe_perl_init(void)
void fe_perl_deinit(void)
{
+ theme_unregister();
+
command_unbind("script", (SIGNAL_FUNC) cmd_script);
command_unbind("script exec", (SIGNAL_FUNC) cmd_script_exec);
command_unbind("script load", (SIGNAL_FUNC) cmd_script_load);