diff options
author | Jose Fonseca <jfonseca@vmware.com> | 2015-10-29 12:54:33 +0000 |
---|---|---|
committer | Jose Fonseca <jfonseca@vmware.com> | 2015-10-29 12:54:33 +0000 |
commit | 5c9788e8b0895142442511fb942aa1b3d5f72d87 (patch) | |
tree | 826552aaab1cffeb31fdefa6fdaca3b3735b95d7 /retrace | |
parent | 18986412bd8a7402aefef5c12518f890fd8f6e1b (diff) |
glstate: Fix deletion of array.
Diffstat (limited to 'retrace')
-rw-r--r-- | retrace/glstate_shaders.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/retrace/glstate_shaders.cpp b/retrace/glstate_shaders.cpp index 8ef46a3b..71d577f9 100644 --- a/retrace/glstate_shaders.cpp +++ b/retrace/glstate_shaders.cpp @@ -410,7 +410,7 @@ dumpUniformBlock(StateWriter &writer, << " offset " << offset << ", array stride " << array_stride << ", matrix stride " << matrix_stride << ", row_major " << is_row_major << "\n" ; - delete block_name; + delete [] block_name; } GLint ubo = 0; |