|
From: | lilypond |
Subject: | Re: [Lilypond-auto] Issue 3201 in lilypond: Patch: Don't initialize dim_cache_ array via constructor syntax |
Date: | Sat, 23 Feb 2013 13:36:03 +0000 |
Comment #5 on issue 3201 by address@hidden: Patch: Don't initialize dim_cache_ array via constructor syntax
http://code.google.com/p/lilypond/issues/detail?id=3201 This is a real barf bag. While dim_cache_ [a] = Dimension_cache (s.dim_cache_ [a]);now calls the copy constructor for creating separate copies of the members (pointers) of s.dim_cache, the temporary created by the call to Dimension_cache is destructed afterwards, taking those copies along with it. So again, double destruction. Quite insane semantics of Dimension_cache, and I should be surprised if they never lead to trouble.
--You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at: https://code.google.com/hosting/settings
[Prev in Thread] | Current Thread | [Next in Thread] |