[889] in BarnOwl Developers

home help back first fref pref prev next nref lref last post

[D-O-H] r875 - trunk/owl

daemon@ATHENA.MIT.EDU (nelhage@MIT.EDU)
Thu Oct 29 18:10:48 2009

Resent-From: nelhage@mit.edu
Resent-To: barnowl-dev-mtg@charon.mit.edu
To: dirty-owl-hackers@mit.edu
From: nelhage@MIT.EDU
Reply-to: dirty-owl-hackers@MIT.EDU
Date: Tue, 15 Jan 2008 14:40:04 -0500 (EST)

Author: nelhage
Date: 2008-01-15 14:40:02 -0500 (Tue, 15 Jan 2008)
New Revision: 875

Modified:
   trunk/owl/perlconfig.c
Log:
Actually free the right thing when freeing perl commands


Modified: trunk/owl/perlconfig.c
===================================================================
--- trunk/owl/perlconfig.c	2008-01-15 04:51:18 UTC (rev 874)
+++ trunk/owl/perlconfig.c	2008-01-15 19:40:02 UTC (rev 875)
@@ -481,7 +481,7 @@
 
 void owl_perlconfig_cmd_free(owl_cmd *cmd)
 {
-  SvREFCNT_dec(cmd);
+  SvREFCNT_dec(cmd->cmd_perl);
 }
 
 void owl_perlconfig_edit_callback(owl_editwin *e)


home help back first fref pref prev next nref lref last post