]> git.ipfire.org Git - thirdparty/curl.git/commit
tool: replace three malloc + copy with memdup0
authorDaniel Stenberg <daniel@haxx.se>
Tue, 5 Aug 2025 12:24:15 +0000 (14:24 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 5 Aug 2025 13:46:51 +0000 (15:46 +0200)
commitb3b7d65239ad14fee33f6beac74fb5e450b8b39d
tree9c4905e0116fded4e3d5bbe55981c994acea27c2
parenta7bacfe6e0ad75b46bd17a6cf90eae03c21de10f
tool: replace three malloc + copy with memdup0

The function already existed for private use in var.c

Closes #18185
src/tool_cb_hdr.c
src/tool_strdup.c
src/tool_strdup.h
src/tool_urlglob.c
src/var.c