touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #04032
[Bug 785118] Re: valgrind: Mismatched free in libnux
** Changed in: unity (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity in Ubuntu.
https://bugs.launchpad.net/bugs/785118
Title:
valgrind: Mismatched free in libnux
Status in Nux:
Fix Released
Status in Unity:
Fix Released
Status in “nux” package in Ubuntu:
Fix Released
Status in “unity” package in Ubuntu:
Fix Released
Bug description:
This is a simple one. There are only two new/delete pairs in
IOpenGLAsmShader.cpp and they are both wrong.
==1555== Mismatched free() / delete / delete []
==1555== at 0x4C27FFF: operator delete(void*) (vg_replace_malloc.c:387)
==1555== by 0x15800D32: nux::IOpenGLAsmVertexShader::Compile() (in /usr/lib/libnux-graphics-0.9.so.0.944.4)
==1555== Mismatched free() / delete / delete []
==1555== at 0x4C27FFF: operator delete(void*) (vg_replace_malloc.c:387)
==1555== by 0x15800C42: nux::IOpenGLAsmPixelShader::Compile() (in /usr/lib/libnux-graphics-0.9.so.0.944.4)
This is worth fixing at least to reduce the number of errors reported
by valgrind for unity/compiz. It takes up a significant amount of
space in valgrind logs and is trivial to fix.
To fix, replace both instances of:
delete ShaderSource;
with:
delete[] ShaderSource;
To manage notifications about this bug go to:
https://bugs.launchpad.net/nux/+bug/785118/+subscriptions