Skip to content

Commit 063de3f

Browse files
Update soap.c
1 parent 70ab3e2 commit 063de3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/logic/soap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ int fossil_io_soap_check_grammar(const char *text) {
398398
char *fossil_io_soap_normalize(const char *text) {
399399
if (!text) return NULL;
400400

401-
char *normalized = strdup(text); // Create modifiable copy
401+
char *normalized = fossil_io_cstring_dup(text); // Create modifiable copy
402402
if (!normalized) return NULL;
403403

404404
for (size_t i = 0; FOSSIL_SOAP_SUGGESTIONS[i].bad; i++) {

0 commit comments

Comments
 (0)