]> err.no Git - libchamplain/commit
Fix a leak when disposing of a view that has polygons.
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Tue, 16 Jun 2009 19:16:58 +0000 (21:16 +0200)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Tue, 23 Jun 2009 16:35:39 +0000 (12:35 -0400)
commit28283d72c83f29836777dcf037084386dabc0173
tree882e91f86a3b75e6e2fe011d17eab23017045fc4
parent2d58f2b2e674f2641b43df51edefc413a2509eef
Fix a leak when disposing of a view that has polygons.

The first polygon wasn't freed as only the subsequent elements where freed.
Also the data elements where freed after been unref, this is a bit odd.
champlain/champlain-view.c