diff options
| author | bulia byak <buliabyak@gmail.com> | 2008-09-16 16:31:48 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2008-09-16 16:31:48 +0000 |
| commit | 69cf37d70723dca2edec3d8f5aecee35a97ebb1c (patch) | |
| tree | 730a60bced14740cdff7f00dc6401ef11fc48e36 /src/sp-pattern.cpp | |
| parent | remove unneeded ref, arenaitem is reffed when created on invoke_show and unre... (diff) | |
| download | inkscape-69cf37d70723dca2edec3d8f5aecee35a97ebb1c.tar.gz inkscape-69cf37d70723dca2edec3d8f5aecee35a97ebb1c.zip | |
remove extra unref; now ref/unref is done by show/hide; this used to stop this arenaitem from leaking, but this is now fixed properly in SPItem
(bzr r6819)
Diffstat (limited to '')
| -rw-r--r-- | src/sp-pattern.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sp-pattern.cpp b/src/sp-pattern.cpp index f89562d25..f7c8a03fc 100644 --- a/src/sp-pattern.cpp +++ b/src/sp-pattern.cpp @@ -724,7 +724,6 @@ sp_pattern_painter_new (SPPaintServer *ps, NR::Matrix const &full_transform, NR: NRArenaItem *cai; cai = sp_item_invoke_show (SP_ITEM (child), pp->arena, pp->dkey, SP_ITEM_REFERENCE_FLAGS); nr_arena_item_append_child (pp->root, cai); - nr_arena_item_unref (cai); } } break; // do not go further up the chain if children are found |
