aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/http.c
diff options
context:
space:
mode:
authorRichard Shaffer <rshaffer@tunein.com>2018-04-13 16:42:32 -0700
committerwm4 <nfxjfg@googlemail.com>2018-04-17 22:00:54 +0200
commit9a8811f478db4c24e9acb597274c5feace11f364 (patch)
treed227674a1fb9355a2491f595642264af13982490 /libavformat/http.c
parent9af71b326fda1c6f32a26d465f7740110113e759 (diff)
downloadffmpeg-9a8811f478db4c24e9acb597274c5feace11f364.tar.gz
libavformat/http: Fix memory leak in get_cookies.
Diffstat (limited to 'libavformat/http.c')
-rw-r--r--libavformat/http.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/http.c b/libavformat/http.c
index 983034f083..b4a1919f24 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -1103,6 +1103,7 @@ static int get_cookies(HTTPContext *s, char **cookies, const char *path,
snprintf(*cookies, str_size, "%s; %s=%s", tmp, cookie_entry->key, cookie_entry->value);
av_free(tmp);
}
+ av_dict_free(&cookie_params);
}
av_free(set_cookies);