Bugs item #2910982, was opened at 2009-12-08 21:17
Message generated for change (Tracker Item Submitted) made by ettlmartin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102915&aid=2910982&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: orbitcowboy (ettlmartin)
Assigned to: Nobody/Anonymous (nobody)
Summary: fixed missmatching allocation/deallocation a few times

Initial Comment:


during a check with the static code analysis tool cppcheck
(https://sourceforge.net/projects/cppcheck/) the tool discovered
a missmatch in allocation/deallocation of memory at several lines of code.

It printed the following output:

[../bindings/c++/plstream.cc:1227]: (Error) Mismatching allocation and 
deallocation: loc_draw
[../bindings/c++/plstream.cc:1244]: (Error) Mismatching allocation and 
deallocation: loc_draw
[../bindings/c++/plstream.cc:1399]: (Error) Mismatching allocation and 
deallocation: loc_rev
[../bindings/c++/plstream.cc:1426]: (Error) Mismatching allocation and 
deallocation: loc_rev
[../bindings/c++/plstream.cc:1459]: (Error) Mismatching allocation and 
deallocation: loc_rev

Please see the attached patch that fixes the issue

Best regards

Ettl Martin

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

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

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to