Database: fix tmp array deletion

Found by Coverity Scan, CID 25544.

Change-Id: Iaf0866ebd4a458fabfe79336d8c8b639e42147c5
This commit is contained in:
Horst Schirmeier
2015-02-07 14:52:58 +01:00
parent cf6b481d5e
commit 0047919644

View File

@ -280,7 +280,7 @@ std::string Database::escape_string(const std::string unescaped_string) {
std::string result = temp;
delete temp;
delete[] temp;
return result;
}