Commit 88ed3dba authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32: fix memleak. 10L

parent 5d1a07d5
...@@ -325,7 +325,9 @@ static void Win32DebugOutputMsg (void* d, int type, const msg_item_t *p_item, ...@@ -325,7 +325,9 @@ static void Win32DebugOutputMsg (void* d, int type, const msg_item_t *p_item,
msg[msg_len] = '\n'; msg[msg_len] = '\n';
msg[msg_len + 1] = '\0'; msg[msg_len + 1] = '\0';
} }
OutputDebugStringW(ToWide(msg)); wchar_t *wmsg = ToWide(msg);
OutputDebugStringW(wmsg);
free(wmsg);
} }
free(msg); free(msg);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment