Skip to content

Commit 60333b4

Browse files
committed
Fix patch server memory leak
1 parent fef3638 commit 60333b4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

install/login/patch.exe

0 Bytes
Binary file not shown.

makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ SHIP_H = $(SHIP_SRC_DIR)/resource.h $(SHIP_SRC_DIR)/pso_crypt.h $(SHIP_SRC_DIR)/
2525
FUNC_H = $(SHIP_SRC_DIR)/funcs1.h $(SHIP_SRC_DIR)/funcs2.h $(SHIP_SRC_DIR)/funcs3.h $(SHIP_SRC_DIR)/commands.h \
2626
$(SHIP_SRC_DIR)/file-funcs.h $(SHIP_SRC_DIR)/load-funcs.h $(SHIP_SRC_DIR)/mag-funcs.h $(SHIP_SRC_DIR)/string-funcs.h
2727

28-
all: ship #account_add login char_export convert_quest convert_unitxt make_key newtable patch ship
28+
all: patch ship #account_add login char_export convert_quest convert_unitxt make_key newtable patch ship
2929

3030
.SECONDEXPANSION:
3131

src/patch_server/patch_server.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1462,8 +1462,8 @@ int main( int argc, char * argv[] )
14621462
{
14631463
/*wserror = WSAGetLastError();
14641464
printf ("Could not read data from client...\n");
1465-
printf ("Socket Error %u.\n", wserror );
1466-
initialize_connection (workConnect);*/
1465+
printf ("Socket Error %u.\n", wserror );*/
1466+
initialize_connection (workConnect);
14671467
}
14681468
else
14691469
{

0 commit comments

Comments
 (0)