file-updater: Add missing dstr_free calls
This commit is contained in:
parent
42305f1c98
commit
15bec2a4d2
@ -195,6 +195,8 @@ static bool init_update(struct update_info *info)
|
||||
|
||||
info->header = curl_slist_append(info->header,
|
||||
if_none_match.array);
|
||||
|
||||
dstr_free(&if_none_match);
|
||||
}
|
||||
|
||||
obs_data_release(metadata);
|
||||
@ -401,6 +403,8 @@ static void update_save_metadata(struct update_info *info)
|
||||
obs_data_set_string(data, "etag", info->etag_remote);
|
||||
obs_data_save_json(data, path.array);
|
||||
obs_data_release(data);
|
||||
|
||||
dstr_free(&path);
|
||||
}
|
||||
|
||||
static void update_remote_version(struct update_info *info, int cur_version)
|
||||
|
Loading…
x
Reference in New Issue
Block a user