From cae2409c94b11d17643f7c19829e2653d759ff8e Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Thu, 13 Dec 2007 09:45:27 +0000 Subject: Fundamentally reworked version of the 3D box tool (among many other things, this fixes bugs #168900 and #168868). See mailing list for details. Sorry for this single large commit but it was unfeasible to keep the history. (bzr r4224) --- src/gc-anchored.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gc-anchored.cpp') diff --git a/src/gc-anchored.cpp b/src/gc-anchored.cpp index 3f4cfc12d..91055c968 100644 --- a/src/gc-anchored.cpp +++ b/src/gc-anchored.cpp @@ -72,6 +72,7 @@ void Anchored::anchor() const { void Anchored::release() const { Debug::EventTracker tracker(this); + g_return_if_fail(_anchor); if (!--_anchor->refcount) { _free_anchor(_anchor); _anchor = NULL; -- cgit v1.2.3