From: Emmanuel Rodriguez Date: Wed, 29 Jul 2009 20:33:47 +0000 (+0200) Subject: Clear the points when the polygon is disposed X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57ab1ac208fc3e3893bdc332c3e7372c91712ff4;p=libchamplain Clear the points when the polygon is disposed --- diff --git a/champlain/champlain-polygon.c b/champlain/champlain-polygon.c index 8567c20..218cd10 100644 --- a/champlain/champlain-polygon.c +++ b/champlain/champlain-polygon.c @@ -145,6 +145,8 @@ champlain_polygon_dispose (GObject *object) priv->actor = NULL; } + champlain_polygon_clear_points (CHAMPLAIN_POLYGON (object)); + G_OBJECT_CLASS (champlain_polygon_parent_class)->dispose (object); }