commit a2e0868
default
·
2024-05-30 08:49:32 +0000 UTC
parent d56d4be
Fixed minor leak.
1 files changed,
+1,
-1
+1,
-1
1@@ -3185,7 +3185,7 @@ int mastoapi_patch_handler(const xs_dict *req, const char *q_path,
2 const xs_str *k;
3 const xs_val *v;
4 const xs_str *field_name = NULL;
5- xs_dict *new_fields = xs_dict_new();
6+ xs *new_fields = xs_dict_new();
7 while (xs_dict_next(args, &k, &v, &c)) {
8 if (strcmp(k, "display_name") == 0) {
9 if (v != NULL)