mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-26 01:03:37 +00:00
Fixed minor leak.
This commit is contained in:
parent
d56d4beb90
commit
a2e08688d5
1 changed files with 1 additions and 1 deletions
|
@ -3185,7 +3185,7 @@ int mastoapi_patch_handler(const xs_dict *req, const char *q_path,
|
|||
const xs_str *k;
|
||||
const xs_val *v;
|
||||
const xs_str *field_name = NULL;
|
||||
xs_dict *new_fields = xs_dict_new();
|
||||
xs *new_fields = xs_dict_new();
|
||||
while (xs_dict_next(args, &k, &v, &c)) {
|
||||
if (strcmp(k, "display_name") == 0) {
|
||||
if (v != NULL)
|
||||
|
|
Loading…
Reference in a new issue