]> err.no Git - libchamplain/commit
Set the polygons list to NULL after the free in champlain_view_dispose().
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Wed, 17 Jun 2009 19:00:55 +0000 (21:00 +0200)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Tue, 23 Jun 2009 16:37:36 +0000 (12:37 -0400)
commit6e3058df141390771fb6ebcc2cc8284acb36202b
tree751f1ad7ddf4ed091da620739c70459a47031160
parent9639c6186df817fda1348b403c48504f8d36493c
Set the polygons list to NULL after the free in champlain_view_dispose().

If the list isn't set to NULL then an application would have wrong memory
access in the case where dispose is called twice for the same object. This
happens on the demo launcher-gtk.
champlain/champlain-view.c