diff options
Diffstat (limited to 'src/document.cpp')
| -rw-r--r-- | src/document.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/document.cpp b/src/document.cpp index 44e13b4f2..3077198cf 100644 --- a/src/document.cpp +++ b/src/document.cpp @@ -131,7 +131,7 @@ SPDocument::~SPDocument() { sp_document_clear_undo(this); if (root) { - sp_object_invoke_release(root); + root->releaseReferences(); sp_object_unref(root); root = NULL; } |
