From 0f500a08b610b60ae15f16bc10472d5ed737a819 Mon Sep 17 00:00:00 2001 From: ssrlive <30760636+ssrlive@users.noreply.github.com> Date: Fri, 13 May 2022 11:58:36 +0800 Subject: [PATCH] update ssr-native module. --- depends/ssr-native | 2 +- src/ssrWin/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/depends/ssr-native b/depends/ssr-native index 0db50d7..93fb0d8 160000 --- a/depends/ssr-native +++ b/depends/ssr-native @@ -1 +1 @@ -Subproject commit 0db50d74d129f4ffcc554c2ced228e8249634cf8 +Subproject commit 93fb0d8b3fde863d34fd8e086e663f15dc6d0c2c diff --git a/src/ssrWin/main.c b/src/ssrWin/main.c index 2b2895f..c8047f6 100644 --- a/src/ssrWin/main.c +++ b/src/ssrWin/main.c @@ -888,7 +888,7 @@ static INT_PTR CALLBACK QrCodeDlgProc(HWND hDlg, UINT uMessage, WPARAM wParam, L static struct server_config* config; HINSTANCE hInstance = (HINSTANCE)GetWindowLongPtrW(hDlg, GWLP_HINSTANCE); HICON hIconApp; - static char* qrcode_str; + static char* qrcode_str = NULL; static HBITMAP hBmp = NULL; HDC dc, mdc; RECT rc;