[2729] in BarnOwl Developers

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

[barnowl/barnowl] 4c0ac3: Don't leak editwins in the viewwin

daemon@ATHENA.MIT.EDU (noreply@github.com)
Tue Oct 26 12:02:53 2010

Date: Tue, 26 Oct 2010 09:02:50 -0700
To: barnowl-dev@mit.edu
From: noreply@github.com

Branch: refs/heads/master
Home:   http://github.com/barnowl/barnowl

Commit: 4c0ac346f23d28c7044158fec3e4674b7d2dfcd6
    http://github.com/barnowl/barnowl/commit/4c0ac346f23d28c7044158fec3e4674b7d2dfcd6
Author: David Benjamin <davidben@mit.edu>
Date:   2010-10-23 (Sat, 23 Oct 2010)

Changed paths:
  M viewwin.c

Log Message:
-----------
Don't leak editwins in the viewwin

All the objects we pass the editwin to take a reference, but no one
ever claims the reference it was initially created with.


Commit: 7d7326c065b3a6e07abbc13bf99c2c163ef6824d
    http://github.com/barnowl/barnowl/commit/7d7326c065b3a6e07abbc13bf99c2c163ef6824d
Author: David Benjamin <davidben@mit.edu>
Date:   2010-10-23 (Sat, 23 Oct 2010)

Changed paths:
  M variable.c

Log Message:
-----------
When deleting a variable, clean-up strings

Variables allocated from perl strdup their strings. Make this consistent
and free them afterwards.


Commit: a04218cdc9907655768e6607cef2ef5b4d4edd59
    http://github.com/barnowl/barnowl/commit/a04218cdc9907655768e6607cef2ef5b4d4edd59
Author: David Benjamin <davidben@mit.edu>
Date:   2010-10-23 (Sat, 23 Oct 2010)

Changed paths:
  M tester.c

Log Message:
-----------
Free intermediate values in owl_util_regtest


Commit: eaedfba603a979c43763b6feddd32ca13331196a
    http://github.com/barnowl/barnowl/commit/eaedfba603a979c43763b6feddd32ca13331196a
Author: David Benjamin <davidben@mit.edu>
Date:   2010-10-23 (Sat, 23 Oct 2010)

Changed paths:
  M functions.c

Log Message:
-----------
Don't leak messages in owl_function_makemsg

Just give the msgwin the memory we allocated instead of copying and
deleting things.


Commit: e45d9f49ef2c8dfcc3bf50e33708cd90019f10b2
    http://github.com/barnowl/barnowl/commit/e45d9f49ef2c8dfcc3bf50e33708cd90019f10b2
Author: David Benjamin <davidben@mit.edu>
Date:   2010-10-23 (Sat, 23 Oct 2010)

Changed paths:
  M tester.c

Log Message:
-----------
Don't re-initialize filters in owl_filter_regtest

We setup the default filters now, so avoid leaking all of them.


Commit: 40382e0dceafcb229fa5bf6a4c8c8f6390f2763e
    http://github.com/barnowl/barnowl/commit/40382e0dceafcb229fa5bf6a4c8c8f6390f2763e
Author: David Benjamin <davidben@mit.edu>
Date:   2010-10-23 (Sat, 23 Oct 2010)

Changed paths:
  M perlglue.xs

Log Message:
-----------
Don't re-initialize lists in BarnOwl::all_keymaps

owl_keyhandler_get_keymap_names eventually calls owl_list_create, so the
first initialization gets lost.


Commit: be46e0e43f27ef1d8d155772bdae455a57e7a525
    http://github.com/barnowl/barnowl/commit/be46e0e43f27ef1d8d155772bdae455a57e7a525
Author: David Benjamin <davidben@mit.edu>
Date:   2010-10-23 (Sat, 23 Oct 2010)

Changed paths:
  M zephyr.c

Log Message:
-----------
Don't leaks memory when .anyone file is missing

Also caught by valgrind.


Commit: d4582efe1b50201f729fe9dfcf077d3452b1b54a
    http://github.com/barnowl/barnowl/commit/d4582efe1b50201f729fe9dfcf077d3452b1b54a
Author: David Benjamin <davidben@mit.edu>
Date:   2010-10-23 (Sat, 23 Oct 2010)

Changed paths:
  M zwrite.c

Log Message:
-----------
Don't leak z->cmd in owl_zwrite


Commit: 2afae56006f17f45580be5b2a8b88b5231168a64
    http://github.com/barnowl/barnowl/commit/2afae56006f17f45580be5b2a8b88b5231168a64
Author: David Benjamin <davidben@mit.edu>
Date:   2010-10-23 (Sat, 23 Oct 2010)

Changed paths:
  M history.c

Log Message:
-----------
Don't leak partial history entries when replacing them

We're removing pointers from the history without freeing them.



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