Fix various memory leaks, mostly in plugins
authorAndy Spencer <andy753421@gmail.com>
Sat, 6 Feb 2010 11:46:34 +0000 (11:46 +0000)
committerAndy Spencer <andy753421@gmail.com>
Sat, 6 Feb 2010 11:46:34 +0000 (11:46 +0000)
commit5fc5cb01b2d060bdfa5a268c0d4e6b528bd31edc
tree324379f334035eac8e96e23b397f51089cfc0234
parent41ac199155afce20286027beb0261fbdd5cee7c5
Fix various memory leaks, mostly in plugins

- Keep references to objects in plugins and remove/free them when the
  plugins are destroyed.
- g_close_dir in gis-plugin.c
src/gis-plugin.c
src/objects/gis-marker.c
src/objects/gis-tile.c
src/plugins/env.c
src/plugins/env.h
src/plugins/test.c
src/plugins/test.h