summaryrefslogtreecommitdiffstats
path: root/src/sp-use-reference.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-use-reference.cpp')
-rw-r--r--src/sp-use-reference.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-use-reference.cpp b/src/sp-use-reference.cpp
index 1474a43a9..a1cb045e5 100644
--- a/src/sp-use-reference.cpp
+++ b/src/sp-use-reference.cpp
@@ -232,7 +232,7 @@ void SPUsePath::refresh_source()
}
originalPath = new Path;
originalPath->LoadArtBPath(SP_CURVE_BPATH(curve), NR::Matrix(item->transform), true);
- sp_curve_unref(curve);
+ curve->unref();
}