mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[9970] Fixed array free in vmap code
This commit is contained in:
parent
e55551013d
commit
9958639202
2 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9969"
|
#define REVISION_NR "9970"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
|
|
@ -540,7 +540,7 @@ namespace VMAP
|
||||||
|
|
||||||
if(vectorarray != 0)
|
if(vectorarray != 0)
|
||||||
{
|
{
|
||||||
delete vectorarray;
|
delete[] vectorarray;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(gtree->size() >0)
|
if(gtree->size() >0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue