[8473] Fixed a memory leak in 8441.

Signed-off-by: Ambal <pogrebniak@gala.net>
This commit is contained in:
Ambal 2009-09-05 13:45:02 +03:00
parent d6e4fc2864
commit 7db230df55
2 changed files with 2 additions and 2 deletions

View file

@ -217,7 +217,7 @@ bool Database::CheckRequiredField( char const* table_name, char const* required_
} }
} }
delete result; delete result2;
if(!reqName.empty()) if(!reqName.empty())
sLog.outErrorDb("Table `%s` have field `%s` but expected `%s`! Not all sql updates applied?",table_name,reqName.c_str(),required_name); sLog.outErrorDb("Table `%s` have field `%s` but expected `%s`! Not all sql updates applied?",table_name,reqName.c_str(),required_name);

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "8472" #define REVISION_NR "8473"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__