Skip to content

Commit fdedec7

Browse files
committed
Update Bluewing Server to build 18
Fixed lw_stream close hook incorrectly being freed directly. That might've been crash potential in server, or may not have come into play at all, judging from it never occuring when the debug version of build 17 was run on a live server with 50-100 clients for several hours, while CRT memory checks were enabled. The rest of build 18 fixes don't apply in this standalone version. For ease of mind for anyone concerned, I'll update ansi-final to build 18.
1 parent cbafdf6 commit fdedec7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Lacewing/Lacewing.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1641,7 +1641,7 @@ struct relayclientinternal;
16411641
struct relayclient
16421642
{
16431643
public:
1644-
const static int buildnum = 83;
1644+
const static int buildnum = 85;
16451645

16461646
void * internaltag = nullptr, *tag = nullptr;
16471647

@@ -1847,7 +1847,7 @@ namespace lacewing {
18471847
struct relayserverinternal;
18481848
struct relayserver
18491849
{
1850-
static const int buildnum = 17;
1850+
static const int buildnum = 18;
18511851

18521852
void * internaltag, * tag = nullptr;
18531853

Lacewing/src/stream.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1245,7 +1245,6 @@ void lw_stream_remove_hook_close (lw_stream stream,
12451245
{
12461246
if (hook->proc == proc && hook->tag == tag)
12471247
{
1248-
free(hook);
12491248
list_elem_remove (hook);
12501249
found = lw_true;
12511250
break;

0 commit comments

Comments
 (0)