Module: wine Branch: master Commit: c293cd781fb4b330b7d93171501134f86a5138b8 URL: https://gitlab.winehq.org/wine/wine/-/commit/c293cd781fb4b330b7d93171501134f... Author: Alex Henrie <alexhenrie24(a)gmail.com> Date: Tue Apr 4 19:26:03 2023 -0600 setupapi: Use CRT functions for memory allocation where possible. The big win here is getting rid of the reimplementation of wcsdup. --- dlls/setupapi/devinst.c | 101 ++++++++++++++------------- dlls/setupapi/dialog.c | 14 ++-- dlls/setupapi/dirid.c | 27 +++----- dlls/setupapi/diskspace.c | 16 ++--- dlls/setupapi/fakedll.c | 55 +++++++-------- dlls/setupapi/install.c | 111 +++++++++++++++--------------- dlls/setupapi/misc.c | 23 +++---- dlls/setupapi/parser.c | 49 ++++++-------- dlls/setupapi/query.c | 44 ++++++------ dlls/setupapi/queue.c | 143 +++++++++++++++++++-------------------- dlls/setupapi/setupapi_private.h | 20 +----- dlls/setupapi/setupcab.c | 4 +- dlls/setupapi/stringtable.c | 2 +- 13 files changed, 284 insertions(+), 325 deletions(-)