浏览代码

Fixed small memory leak in App::StartServer()

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Konstantin Goncharik 12 年之前
父节点
当前提交
df1c273164
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app.cpp

+ 1 - 1
app.cpp

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