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;