diff options
| author | Markus Engel <markus.engel@tum.de> | 2013-11-12 00:51:18 +0000 |
|---|---|---|
| committer | Markus Engel <markus.engel@tum.de> | 2013-11-12 00:51:18 +0000 |
| commit | f8a064e45c3d5571d27bbda9ffcfeacd22398b49 (patch) | |
| tree | 723cfa249e68bc7989bf4e3e59fc92f305aef718 /src/sp-switch.cpp | |
| parent | removed recursion to avoid problems on big documents (diff) | |
| download | inkscape-f8a064e45c3d5571d27bbda9ffcfeacd22398b49.tar.gz inkscape-f8a064e45c3d5571d27bbda9ffcfeacd22398b49.zip | |
Fix bug in SPSwitch.
Fixed bugs:
- https://launchpad.net/bugs/1249862
(bzr r12794)
Diffstat (limited to 'src/sp-switch.cpp')
| -rw-r--r-- | src/sp-switch.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sp-switch.cpp b/src/sp-switch.cpp index 5c88d7af8..b4841c0d0 100644 --- a/src/sp-switch.cpp +++ b/src/sp-switch.cpp @@ -40,6 +40,7 @@ SPSwitch::SPSwitch() : SPGroup() { } SPSwitch::~SPSwitch() { + _releaseLastItem(_cached_item); } SPObject *SPSwitch::_evaluateFirst() { |
