Skip to content

Commit 23ff0d5

Browse files
committed
Update Bluewing Server to build 21
Fix crash on error caused by use of LocalFree() on stack memory - a missed line in the optimisation added in build 19.
1 parent 82a3f05 commit 23ff0d5

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
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 = 85;
1644+
const static int buildnum = 89;
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 = 20;
1850+
static const int buildnum = 21;
18511851

18521852
void * internaltag, * tag = nullptr;
18531853

Lacewing/src/error.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,6 @@ void lw_error_add (lw_error ctx, long error)
133133
strlen(message) - 3, message, error);
134134
}
135135

136-
LocalFree (message);
137-
138136
#else
139137

140138
lw_error_addf (ctx, "%s (%ld)", strerror (error), error);

0 commit comments

Comments
 (0)