Bugs item #2901388, was opened at 2009-11-20 20:32
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102915&aid=2901388&group_id=2915

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: C++ plstream class broken

Initial Comment:
The destructor for the plstream class does not decrease variable next_stream as 
it should. Generating many plots will increase next_stream indefinitely in the 
plstream constructors and in consequence the underlying C core will complain 
about too many streams. A proper plstream destructor should look like the below 
code (--next_stream; statement added)

plstream::~plstream()
{
    ::c_plsstrm(stream);
    ::c_plend1();

    --next_stream;

    active_streams--;
    if (!active_streams)
        ::c_plend();
}


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102915&aid=2901388&group_id=2915

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to