summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bf3e56f)
raw | patch | inline | side by side (parent: bf3e56f)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Sun, 4 Jan 2009 03:27:35 +0000 (03:27 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Sun, 4 Jan 2009 03:27:35 +0000 (03:27 +0000) |
src/marker.cpp | patch | blob | history |
diff --git a/src/marker.cpp b/src/marker.cpp
index 4aa8c3a9d3948b0ed316202d55f4a2a2d78ff5b3..d3927fd59e8e4ee069a11175bc6be033603c4c18 100644 (file)
--- a/src/marker.cpp
+++ b/src/marker.cpp
marker->viewBox_set = FALSE;
marker->c2p.setIdentity();
+
+ marker->views = NULL;
}
/**
@@ -721,8 +723,8 @@ sp_marker_view_remove (SPMarker *marker, SPMarkerView *view, unsigned int destro
if (view->items[i]) nr_arena_item_unref (view->items[i]);
}
}
- view->items.clear();
- g_free (view);
+ view->items.clear();
+ delete view;
}
const gchar *