We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70ab3e2 commit 063de3fCopy full SHA for 063de3f
code/logic/soap.c
@@ -398,7 +398,7 @@ int fossil_io_soap_check_grammar(const char *text) {
398
char *fossil_io_soap_normalize(const char *text) {
399
if (!text) return NULL;
400
401
- char *normalized = strdup(text); // Create modifiable copy
+ char *normalized = fossil_io_cstring_dup(text); // Create modifiable copy
402
if (!normalized) return NULL;
403
404
for (size_t i = 0; FOSSIL_SOAP_SUGGESTIONS[i].bad; i++) {
0 commit comments