|
|
@@ -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)
|