[520] in BarnOwl Developers

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

[D-O-H] r640 - in trunk: . owl

daemon@ATHENA.MIT.EDU (nelhage@MIT.EDU)
Thu Oct 29 18:07:02 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: Fri,  2 Mar 2007 09:22:28 -0500 (EST)

Author: nelhage
Date: 2007-03-02 09:22:27 -0500 (Fri, 02 Mar 2007)
New Revision: 640

Modified:
   trunk/
   trunk/owl/filter.c
   trunk/owl/keybinding.c
Log:
 r19191@phanatique:  nelhage | 2007-03-02 09:22:21 -0500
 Fix two more stupid memory leaks.



Property changes on: trunk
___________________________________________________________________
Name: svk:merge
   - bb873fd7-8e23-0410-944a-99ec44c633eb:/branches/owl/filter-rewrite:15925
bb873fd7-8e23-0410-944a-99ec44c633eb:/local/d-o-h/trunk:19177
   + bb873fd7-8e23-0410-944a-99ec44c633eb:/branches/owl/filter-rewrite:15925
bb873fd7-8e23-0410-944a-99ec44c633eb:/local/d-o-h/trunk:19191

Modified: trunk/owl/filter.c
===================================================================
--- trunk/owl/filter.c	2007-03-02 03:38:51 UTC (rev 639)
+++ trunk/owl/filter.c	2007-03-02 14:22:27 UTC (rev 640)
@@ -12,7 +12,7 @@
 
   argv=owl_parseline(string, &argc);
   out=owl_filter_init(f, name, argc, argv);
-  /* owl_parsefree(argv, argc); */
+  owl_parsefree(argv, argc);
   return(out);
 }
 

Modified: trunk/owl/keybinding.c
===================================================================
--- trunk/owl/keybinding.c	2007-03-02 03:38:51 UTC (rev 639)
+++ trunk/owl/keybinding.c	2007-03-02 14:22:27 UTC (rev 640)
@@ -44,6 +44,8 @@
   }
   kb->j[i] = 0;
 
+  atokenize_free(ktokens, nktokens);
+
   if (command) kb->command = owl_strdup(command);
   kb->function_fn = function_fn;
   if (desc) kb->desc = owl_strdup(desc);


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