Browse Source

Fixed small memory leak in App::StartServer()

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Konstantin Goncharik 10 years ago
parent
commit
df1c273164
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app.cpp

+ 1 - 1
app.cpp

@@ -973,7 +973,7 @@ int App::StartServer() {
 		break;
 	}
 
-	delete args;
+	delete [] args;
 
 	serverStarted = true;