Fix memory leak on loading of users
If the new format users are loaded, the loaded JSON object was never freed.
This commit is contained in:
parent
3922f7a901
commit
39c19e1bb9
@ -290,6 +290,7 @@ static USERS* load_users(const char *fname)
|
||||
{
|
||||
/** New format users */
|
||||
rval = users_from_json(json);
|
||||
json_decref(json);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user