8000 Merge pull request #4431 from tacaswell/fix_cxx_clang_warning · matplotlib/matplotlib@ec6c107 · GitHub
[go: up one dir, main page]

Skip to content

Commit ec6c107

Browse files
committed
Merge pull request #4431 from tacaswell/fix_cxx_clang_warning
FIX : fix mis-matched new/delete in CXX
2 parents a5b48e7 + eabfd72 commit ec6c107

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extern/CXX/Python2/ExtensionType.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ namespace Py
125125

126126
~ExtensionClassMethodsTable()
127127
{
128-
delete m_methods_table;
128+
delete[] m_methods_table;
129129
}
130130

131131
// check that all methods added are unique

0 commit comments

Comments
 (0)
0