mismatched malloc/delete

Bug #1172931 reported by Emmanuel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
Medium
Emmanuel

Bug Description

File: StelQGLInterleavedArrayVertexBufferBackend.cpp
Version: 0.12.0 and 0.12 current development version
Line: 45 vertices = static_cast<char*>(std::malloc(vertexCapacity * vertexStr ide));
Line: 50 delete vertices;

not quite a bug as it doesn't make anything crash, but was reported by valgrind while tracking down another bug, so let this be reported anyway

Related branches

Changed in stellarium:
milestone: none → 0.12.2
assignee: nobody → Emmanuel (hacker-emmanuel)
status: New → Fix Committed
Changed in stellarium:
importance: Undecided → Medium
Changed in stellarium:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.