mismatched malloc/delete

Bug #1172931 reported by Emmanuel on 2013-04-25
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

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  Edit
Everyone can see this information.

Other bug subscribers