This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
libavformat/http: Fix memory leak in get_cookies.
tags/n4.1
Richard Shaffer
wm4
7 years ago
parent
9af71b326f
commit
9a8811f478
1 changed files
with
1 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
libavformat/http.c
+ 1
- 0
libavformat/http.c
View File
@@ -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);
snprintf(*cookies, str_size, "%s; %s=%s", tmp, cookie_entry->key, cookie_entry->value);
av_free(tmp);
av_free(tmp);
}
}
av_dict_free(&cookie_params);
}
}
av_free(set_cookies);
av_free(set_cookies);
Write
Preview
Loading…
Cancel
Save